wm-AllKids-tibi2023/frontend/.htaccess
robin d6acf825c8
All checks were successful
deploy to production / deploy (push) Successful in 1m24s
test
2023-12-06 17:57:25 +00:00

17 lines
487 B
ApacheConf

AddType application/javascript .mjs
#DirectoryIndex spa.html
DirectoryIndex noindex
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^/?api/(.*)$ http://tibi-server:8080/api/v1/_/allkids_erfurt/$1 [P,QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/?(.*)$ http://tibi-server:8080/api/v1/_/allkids_erfurt/ssr?token=owshwerNwoa&url=/$1 [P,QSA,L]
#RewriteRule (.*) /spa.html [QSA,L]
</ifModule>