wm-fontis-tibi-2023/frontend/.htaccess
robin 9258759c01
All checks were successful
deploy to production / deploy (push) Successful in 30s
namespace
2023-11-12 12:14:49 +00:00

17 lines
384 B
ApacheConf

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