diff --git a/webpack.config.js b/webpack.config.js index af2826b..bcb8458 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -147,7 +147,8 @@ module.exports = (env = {}) => { port: 8080, historyApiFallback: { rewrites: [ - { from: /^\/scrivito/, to: '/scrivito/index.html' }, + { from: /^\/scrivito$/, to: '/scrivito/index.html' }, + { from: /^\/scrivito\//, to: '/scrivito/index.html' }, { from: /./, to: '/index.html' }, ], },