19 lines
399 B
ApacheConf
19 lines
399 B
ApacheConf
<IfModule mod_rewrite.c>
|
|||
|
|
RewriteEngine On
|
||
|
|
RewriteBase /admin/
|
||
|
|
|
||
|
|
# Serve existing files and directories
|
||
|
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
||
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
||
|
|
RewriteRule ^ - [L]
|
||
|
|
|
||
|
|
# SPA fallback
|
||
|
|
RewriteRule ^ index.html [L]
|
||
|
|
</IfModule>
|
||
|
|
|
||
|
|
<IfModule mod_mime.c>
|
||
|
|
AddType application/javascript .js
|
||
|
|
AddType text/css .css
|
||
|
|
AddType application/wasm .wasm
|
||
|
|
</IfModule>
|