HackMD/lib/config
WilliButz 556783ffad
lib/config: use path.resolve instead of path.join
While paths like `tmpPath` could previously be configured,
they were all interpreted relative to `appRootPath` because
of `path.join`.

Now the configurable paths can be canonical and therefore
independent of the `appRootPath`.

Signed-off-by: WilliButz <wbutz@cyberfnord.de>
2018-09-26 16:56:37 +02:00
..
default.js Support 'host' & 'path' config options 2018-07-27 15:35:29 +03:00
defaultSSL.js Rename forgotten values 2018-03-26 20:15:45 +02:00
dockerSecret.js Add Azure Blob Storage support 2018-06-01 10:07:52 +02:00
enum.js refactor(config.js): Extract config file 2017-05-08 19:29:07 +08:00
environment.js Support 'host' & 'path' config options 2018-07-27 15:35:29 +03:00
hackmdEnvironment.js Rename environment variables and add legacy support. 2018-06-24 13:40:18 +02:00
index.js lib/config: use path.resolve instead of path.join 2018-09-26 16:56:37 +02:00
oldDefault.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
oldEnvironment.js fix(config): ssl environment configs not parse properly 2017-05-08 20:41:38 +08:00
utils.js Add helper function to fix number problems 2018-03-16 20:37:59 +01:00