14 lines
407 B
ApacheConf
14 lines
407 B
ApacheConf
|
AddType application/javascript .mjs
|
||
|
|
||
|
#DirectoryIndex index.html spa.html
|
||
|
DirectoryIndex noindex
|
||
|
|
||
|
<ifModule mod_rewrite.c>
|
||
|
RewriteEngine On
|
||
|
RewriteBase /
|
||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||
|
RewriteRule ^/?(.*)$ http://wmbasic_api:8080/api/v1/_/__NAMESPACE__/ssr?token=__SSR_TOKEN__&url=/$1 [P,QSA,L]
|
||
|
#RewriteRule (.*) /spa.html [QSA,L]
|
||
|
</ifModule>
|