diff --git a/src/app/app.ts b/src/app/app.ts index 40dcf229..b8490d66 100644 --- a/src/app/app.ts +++ b/src/app/app.ts @@ -18,7 +18,7 @@ import { ErrorsView } from './ErrorsView' const LOCAL_STORAGE_THEME = 'theme' -const publicPath = process.env.NODE_ENV === 'production' ? '/dev/' : '/'; +const publicPath = process.env.NODE_ENV === 'production' ? '/alpha/' : '/'; const modelFromPath = (p: string) => p.split('/').filter(e => e.length !== 0).pop() ?? '' diff --git a/webpack.config.js b/webpack.config.js index 68abcfff..dc538441 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -5,7 +5,7 @@ module.exports = (env, argv) => ({ entry: './src/app/app.ts', output: { path: __dirname + '/dist', - publicPath: argv.mode === 'production' ? '/dev/' : '/', + publicPath: argv.mode === 'production' ? '/alpha/' : '/', filename: 'js/bundle.js' }, resolve: {