Added htaccess as asset
This commit is contained in:
parent
de46e65204
commit
7e603c9afa
|
@ -28,7 +28,8 @@
|
|||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"projects/speech-statistics/src/favicon.ico",
|
||||
"projects/speech-statistics/src/assets"
|
||||
"projects/speech-statistics/src/assets",
|
||||
"projects/speech-statistics/src/.htaccess"
|
||||
],
|
||||
"styles": [
|
||||
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
RewriteEngine On
|
||||
# If an existing asset or directory is requested go to it as it is
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
|
||||
RewriteRule ^ - [L]
|
||||
|
||||
# If the requested resource doesn't exist, use index.html
|
||||
RewriteRule ^ /speech-statistics/index.html
|
Loading…
Reference in New Issue