Skip to content

Commit

Permalink
final changes for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Musa-Azeem committed Feb 25, 2024
1 parent 8a152fd commit 245922d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 2,280 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
Brewfile
env
build
npm-debug.log
1 change: 0 additions & 1 deletion backend/Procfile

This file was deleted.

6 changes: 3 additions & 3 deletions backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
class Config:
SQLALCHEMY_DATABASE_URI = uri
SESSION_SECRET_KEY = os.getenv("SESSION_SECRET_KEY")
# SESSION_COOKIE_SECURE=True,
# SESSION_COOKIE_SAMESITE = 'Strict' # This is needed for cross-site cookies
# SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SECURE=True,
SESSION_COOKIE_SAMESITE = 'None' # This is needed for cross-site cookies
SESSION_COOKIE_HTTPONLY = True

ALLOWED_EVAL_EXTENSIONS = ['xlsx', 'xls', 'ods']

Expand Down
1 change: 0 additions & 1 deletion frontend/app/Procfile

This file was deleted.

1 change: 0 additions & 1 deletion frontend/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"heroku-postbuild": "npm run build",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
Expand Down
Loading

0 comments on commit 245922d

Please sign in to comment.