wm-AllKids-tibi2023/frontend/.htaccess

16 lines
373 B
ApacheConf
Raw Normal View History

2023-09-17 13:24:39 +02:00
AddType application/javascript .mjs
DirectoryIndex spa.html
#DirectoryIndex noindex
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
2023-09-18 19:31:11 +02:00
RewriteRule ^/?api/(.*)$ http://tibi-server:8080/api/v1/_/allkids_erfurt/$1 [P,QSA,L]
2023-09-17 13:24:39 +02:00
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /spa.html [QSA,L]
</ifModule>