diff --git a/webpack.config.js b/webpack.config.js index 73d139d01..81bc7a357 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -6,7 +6,8 @@ module.exports = { entry: './src/index.js', output: { path: path.join(__dirname, 'dist'), - filename: 'bundle.js' + filename: 'bundle.js', + publicPath: '/' }, module: { rules: [ @@ -52,6 +53,9 @@ module.exports = { 'stremio-common': path.resolve(__dirname, 'src/common') } }, + devServer: { + historyApiFallback: true + }, plugins: [ new HtmlWebPackPlugin({ template: './src/index.html'