generated from cms/tibi-docs
17 lines
381 B
ApacheConf
17 lines
381 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/$1 [P,QSA,L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteRule (.*) /spa.html [QSA,L]
|
|
</ifModule>
|