Added htaccess and reconfigured .gitignore

This commit is contained in:
Ceferino Patino 2022-04-08 21:59:29 -05:00
commit ca9648dc41
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View file

@ -163,6 +163,7 @@ dist
.DS_* .DS_*
**/*.backup.* **/*.backup.*
**/*.back.* **/*.back.*
build
node_modules node_modules

1
client/public/.htaccess Normal file
View file

@ -0,0 +1 @@
FallbackResource ./index.html

View file

@ -7,7 +7,7 @@
"start": "npm start -ws", "start": "npm start -ws",
"build": "npm run build -ws", "build": "npm run build -ws",
"prepackage": "npm ci && npm run build", "prepackage": "npm ci && npm run build",
"package": "tar -czf ./build.tar.gz ./build" "package": "tar -czf ./build.tar.gz -C build ."
}, },
"author": "C4 Patino", "author": "C4 Patino",
"license": "ISC", "license": "ISC",