diff --git a/templates/zerver/development/dev_tools.html b/templates/zerver/development/dev_tools.html index 453390be1c..8cc6b25458 100644 --- a/templates/zerver/development/dev_tools.html +++ b/templates/zerver/development/dev_tools.html @@ -56,7 +56,7 @@ /webpack/5xx.html - ./manage.py collectstatic --noinput + None needed Error 5xx page served by nginx (used when Django is totally broken) diff --git a/web/html/5xx.html b/web/html/5xx.html index 0cd1e24e42..eb869ae7ac 100644 --- a/web/html/5xx.html +++ b/web/html/5xx.html @@ -3,7 +3,6 @@ 500 internal server error | Zulip - diff --git a/web/webpack.config.ts b/web/webpack.config.ts index 1b6034386c..aa4a58f899 100644 --- a/web/webpack.config.ts +++ b/web/webpack.config.ts @@ -215,6 +215,7 @@ const config = ( filename: "5xx.html", template: "html/5xx.html", chunks: ["error-styles"], + publicPath: production ? "/static/webpack-bundles/" : "/webpack/", }), ], devServer: {