diff options
author | Christoph (Sheogorath) Kern | 2018-06-23 23:42:15 +0200 |
---|---|---|
committer | GitHub | 2018-06-23 23:42:15 +0200 |
commit | 7c7cc289f2c2b2e33a32ea32a6e97ea1410cc63e (patch) | |
tree | ff8bb16ab594d3d374d52c342a8f87849c1fe922 /README.md | |
parent | 87824d21e82237d205b2d109516214c1f4d40c38 (diff) | |
parent | a2608c319a8c31f9b173dbb5d00221d3ad96739b (diff) |
Merge pull request #853 from SISheogorath/fix/imgUpload
Fix possible error if HackMD is started with wrong workdir
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -261,6 +261,7 @@ There are some config settings you need to change in the files below. | `errorPath` | `./public/views/error.ejs` | error template file path | | `prettyPath` | `./public/views/pretty.ejs` | pretty template file path | | `slidePath` | `./public/views/slide.hbs` | slide template file path | +| `uploadsPath` | `./public/uploads` | uploads directory - needs to be persistent when you use imageUploadType `filesystem` | | `sessionName` | `connect.sid` | cookie session name | | `sessionSecret` | `secret` | cookie session secret | | `sessionLife` | `14 * 24 * 60 * 60 * 1000` | cookie session life | |