mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-18 07:16:03 +01:00
wip
This commit is contained in:
@@ -31,7 +31,7 @@ function start () {
|
||||
app.set('view engine', 'html')
|
||||
app.set('views', DIST_FOLDER)
|
||||
|
||||
app.get('*.*', express.static(DIST_FOLDER, {
|
||||
app.get('*.*', express.static(join(DIST_FOLDER, 'static'), {
|
||||
maxAge: '1y',
|
||||
}))
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ module.exports = {
|
||||
output: {
|
||||
path: outputPath,
|
||||
pathinfo: true,
|
||||
publicPath: '/',
|
||||
publicPath: '/static/',
|
||||
filename: '[name].js',
|
||||
chunkFilename: '[name].bundle.js',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user