mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-12 22:26:08 -04:00
Update to move dropbox app key setting to common.js and will auto load client-side related scripts
This commit is contained in:
parent
a816420302
commit
a70ebf7762
7 changed files with 39 additions and 43 deletions
|
@ -72,8 +72,7 @@ function responseError(res, code, detail, msg) {
|
|||
code: code,
|
||||
detail: detail,
|
||||
msg: msg,
|
||||
useCDN: config.usecdn,
|
||||
googleDrive: config.googleDrive,
|
||||
useCDN: config.usecdn
|
||||
});
|
||||
res.write(content);
|
||||
res.end();
|
||||
|
@ -95,8 +94,7 @@ function showIndex(req, res, next) {
|
|||
facebook: config.facebook,
|
||||
twitter: config.twitter,
|
||||
github: config.github,
|
||||
dropbox: config.dropbox,
|
||||
googleDrive: config.googleDrive,
|
||||
dropbox: config.dropbox
|
||||
});
|
||||
res.write(content);
|
||||
res.end();
|
||||
|
@ -126,8 +124,7 @@ function responseHackMD(res, note) {
|
|||
facebook: config.facebook,
|
||||
twitter: config.twitter,
|
||||
github: config.github,
|
||||
dropbox: config.dropbox,
|
||||
googleDrive: config.googleDrive,
|
||||
dropbox: config.dropbox
|
||||
});
|
||||
var buf = html;
|
||||
res.writeHead(200, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue