mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2025-04-27 10:11:24 +08:00
Update deployment related files
This commit is contained in:
parent
ad295a0e6d
commit
fefc3aae38
14 changed files with 72 additions and 1373 deletions
Binary file not shown.
Binary file not shown.
|
@ -28,10 +28,11 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||
SECRET_KEY = str(os.getenv('SECRET_KEY'))
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
DEBUG = False
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
# CSRF_TRUSTED_ORIGINS = [] To-do: Specify URL to web frontend
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
"https://equipment-tracker-frontend.keannu1.duckdns.org"]
|
||||
|
||||
# Email credentials
|
||||
EMAIL_HOST = ''
|
||||
|
@ -210,7 +211,7 @@ USE_TZ = True
|
|||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
|
||||
DOMAIN = 'citc-tracker.keannu1.duckdns.org'
|
||||
DOMAIN = 'equipment-tracker-frontend.keannu1.duckdns.org'
|
||||
|
||||
SITE_NAME = 'CITC Equipment Tracker'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue