htaccess
This commit is contained in:
@ -45,8 +45,8 @@
|
|||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"build:local": "env-cmd -f .env.local npm run build",
|
"build:local": "env-cmd -f .env.local npm run build",
|
||||||
"build:hope-fly": "env-cmd -f .env.hope-fly npm run build",
|
"build:hope-fly": "env-cmd -f .env.hope-fly npm run build",
|
||||||
"postbuild:local": "cp ./src/.htaccess ./build && cp -vrRT ./build/. /opt/lampp/htdocs/dog/",
|
"postbuild:local": "cp -vrRT ./build/. /opt/lampp/htdocs/dog/",
|
||||||
"postbuild:hope-fly": "cp ./src/.htaccess ./build"
|
"___postbuild:hope-fly": "cp ./src/.htaccess ./build"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
|
|||||||
4
public/.htaccess
Normal file
4
public/.htaccess
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Options -MultiViews
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteRule ^ index.html [QSA,L]
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 KiB |
Reference in New Issue
Block a user