mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
support filesystem image upload
This commit is contained in:
parent
81b368c11c
commit
a5dad29300
2 changed files with 31 additions and 13 deletions
|
@ -56,6 +56,9 @@ var heartbeattimeout = config.heartbeattimeout || 10000;
|
|||
// document
|
||||
var documentmaxlength = config.documentmaxlength || 100000;
|
||||
|
||||
// image upload setting, available options are imgur/s3/filesystem
|
||||
var imageUploadType = config.imageUploadType || 'imgur';
|
||||
|
||||
// auth
|
||||
var facebook = (process.env.HMD_FACEBOOK_CLIENTID && process.env.HMD_FACEBOOK_CLIENTSECRET) ? {
|
||||
clientID: process.env.HMD_FACEBOOK_CLIENTID,
|
||||
|
@ -139,5 +142,6 @@ module.exports = {
|
|||
gitlab: gitlab,
|
||||
dropbox: dropbox,
|
||||
google: google,
|
||||
imgur: imgur
|
||||
imgur: imgur,
|
||||
imageUploadType: imageUploadType
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue