diff --git a/frontend/httpd.conf b/frontend/httpd.conf index 168d4180cf..3e91bc3338 100644 --- a/frontend/httpd.conf +++ b/frontend/httpd.conf @@ -211,8 +211,8 @@ LoadModule rewrite_module modules/mod_rewrite.so RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d RewriteRule ^ - [L] - # Rewrite all other requests to index.html - RewriteRule ^(.*)$ /index.html [L] + # If the requested resource doesn't exist, use index.html + RewriteRule ^ /index.html SSLProxyEngine On @@ -500,6 +500,7 @@ LogLevel warn AddType application/x-gzip .gz .tgz AddType application/wasm .wasm AddType application/javascript .js + AddType text/javascript .js # # AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server