This commit is contained in:
2023-02-20 15:58:06 +01:00
parent 254a9e4085
commit 38973f7f1c
3 changed files with 6 additions and 2 deletions

View File

@ -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
View 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