mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix assuming that trilium is exposed on the root path, closes #3452
This commit is contained in:
parent
a083917db1
commit
c6485f8e03
@ -14,7 +14,7 @@ function setupPage(req, res) {
|
||||
windowService.closeSetupWindow();
|
||||
}
|
||||
else {
|
||||
res.redirect('/');
|
||||
res.redirect('.');
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -7,7 +7,7 @@ module.exports = {
|
||||
mobile: './src/public/app/desktop.js',
|
||||
},
|
||||
output: {
|
||||
publicPath: `/${assetPath}/app-dist/`,
|
||||
publicPath: `${assetPath}/app-dist/`,
|
||||
path: path.resolve(__dirname, 'src/public/app-dist'),
|
||||
filename: 'desktop.js'
|
||||
},
|
||||
|
@ -7,7 +7,7 @@ module.exports = {
|
||||
mobile: './src/public/app/mobile.js',
|
||||
},
|
||||
output: {
|
||||
publicPath: `/${assetPath}/app-dist/`,
|
||||
publicPath: `${assetPath}/app-dist/`,
|
||||
path: path.resolve(__dirname, 'src/public/app-dist'),
|
||||
filename: 'mobile.js'
|
||||
},
|
||||
|
@ -7,7 +7,7 @@ module.exports = {
|
||||
mobile: './src/public/app/setup.js',
|
||||
},
|
||||
output: {
|
||||
publicPath: `/${assetPath}/app-dist/`,
|
||||
publicPath: `${assetPath}/app-dist/`,
|
||||
path: path.resolve(__dirname, 'src/public/app-dist'),
|
||||
filename: 'setup.js'
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user