Skip to content

Commit 5985381

Browse files
authored
chore: Fix production website
1 parent 397673d commit 5985381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = {
4343
chunkFilename: 'chunk-[chunkhash].js',
4444
filename: '[name]-[chunkhash].js',
4545
hashDigestLength: 8,
46-
publicPath: '/',
46+
publicPath: isDev ? '/' : './',
4747
},
4848
devServer: {
4949
static: {

0 commit comments

Comments
 (0)