wm-fontis-tibi-2023/frontend/.htaccess

17 lines
381 B
ApacheConf
Raw Permalink Normal View History

2023-07-13 13:12:19 +02:00
AddType application/javascript .mjs
#DirectoryIndex index.html spa.html
2023-08-16 12:46:33 +02:00
DirectoryIndex spa.html
2023-07-13 13:12:19 +02:00
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
2023-07-13 15:14:19 +02:00
RewriteRule ^/?api/(.*)$ http://tibi-server:8080/api/v1/_/fontis/$1 [P,QSA,L]
2023-07-13 13:12:19 +02:00
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
2023-08-16 12:46:33 +02:00
2023-07-13 15:14:19 +02:00
RewriteRule (.*) /spa.html [QSA,L]
2023-07-13 13:12:19 +02:00
</ifModule>