Skip to content

Commit 245922d

Browse files
committed
final changes for deployment
1 parent 8a152fd commit 245922d

6 files changed

Lines changed: 4 additions & 2280 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
Brewfile
55
env
66
build
7+
npm-debug.log

backend/Procfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

backend/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
class Config:
1414
SQLALCHEMY_DATABASE_URI = uri
1515
SESSION_SECRET_KEY = os.getenv("SESSION_SECRET_KEY")
16-
# SESSION_COOKIE_SECURE=True,
17-
# SESSION_COOKIE_SAMESITE = 'Strict' # This is needed for cross-site cookies
18-
# SESSION_COOKIE_HTTPONLY = True
16+
SESSION_COOKIE_SECURE=True,
17+
SESSION_COOKIE_SAMESITE = 'None' # This is needed for cross-site cookies
18+
SESSION_COOKIE_HTTPONLY = True
1919

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

frontend/app/Procfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

frontend/app/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"build": "react-scripts build",
2727
"test": "react-scripts test",
2828
"eject": "react-scripts eject",
29-
"heroku-postbuild": "npm run build",
3029
"predeploy": "npm run build",
3130
"deploy": "gh-pages -d build"
3231
},

0 commit comments

Comments
 (0)