mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-16 22:09:27 +08:00
Add backend url to csrf
This commit is contained in:
parent
46588f52bf
commit
6f5911144c
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ DEBUG = False
|
|||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
"https://csm-frontend.keannu1.duckdns.org"]
|
||||
"https://csm-frontend.keannu1.duckdns.org", "https://csm-backend.keannu1.duckdns.org"]
|
||||
|
||||
# Email credentials
|
||||
EMAIL_HOST = ''
|
||||
|
@ -214,7 +214,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
|||
|
||||
DOMAIN = 'csm-frontend.keannu1.duckdns.org/#'
|
||||
|
||||
SITE_NAME = 'CITC Equipment Tracker'
|
||||
SITE_NAME = 'CSM Borrowing Tracker'
|
||||
|
||||
# 1 week access token lifetime
|
||||
SIMPLE_JWT = {
|
||||
|
|
Loading…
Reference in a new issue