HackMD/lib/web
Sheogorath a2608c319a
Fix possible error if HackMD is started with wrong workdir
In https://github.com/hackmdio/hackmd/issues/834 is described how
starting HackMD crashes when using the wrong working dir.

This is caused by a relative path in our upload routine. This change
should fix it and prevent future crashes.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-23 23:01:01 +02:00
..
auth Merge pull request #784 from pferreir/add-oauth2-support 2018-06-04 15:54:47 +02:00
imageRouter Fix possible error if HackMD is started with wrong workdir 2018-06-23 23:01:01 +02:00
middleware Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
baseRouter.js refactor(baseRouter.js): Adjust style fit standard 2017-05-08 19:29:06 +08:00
historyRouter.js refactor: Remove require extension filename 2017-05-08 19:29:06 +08:00
noteRouter.js Allow posting new note with content 2018-01-18 10:41:58 +01:00
statusRouter.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
userRouter.js Add note export function 2018-05-26 03:12:21 +02:00
utils.js Allow posting new note with content 2018-01-18 10:41:58 +01:00