Fix broken assets

Since switching to TypeScript our assets are broken due to the move of
app.js to the `./lib` subdirectory and the relative patch specified for
the public directory.

This patch solves the problem by adding a proper config element for the
path and referencing it in `./lib/app.js`.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
Sheogorath 2020-02-25 11:19:39 +01:00
parent 004e2fbcb2
commit 95355b8f01
No known key found for this signature in database
GPG key ID: C9B1C80737B9CE18
3 changed files with 3 additions and 1 deletions

View file

@ -42,6 +42,7 @@ module.exports = {
sslCAPath: '',
dhParamPath: '',
// other path
publicPath: './public',
viewPath: './public/views',
tmpPath: os.tmpdir(),
defaultNotePath: './public/default.md',