Skip to content

Commit

Permalink
check for github CI seems to wor, allows local prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Jul 10, 2024
1 parent c892543 commit dc11d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const config = {

output: {
path: path.resolve(__dirname, 'public'),
publicPath: isProduction ? '/Client2/' : '/' // used for GitHub Pages, maybe control via env var?
publicPath: process.env.CI ? '/Client2/' : '/'
},

devServer: {
Expand Down

0 comments on commit dc11d4b

Please sign in to comment.