mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 04:49:37 +02:00
Update backend/server/main/settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
64bfda6bf0
commit
48df9ee56d
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ DATABASES = {
|
||||||
'USER': env('PGUSER', 'POSTGRES_USER'),
|
'USER': env('PGUSER', 'POSTGRES_USER'),
|
||||||
'PASSWORD': env('PGPASSWORD', 'POSTGRES_PASSWORD'),
|
'PASSWORD': env('PGPASSWORD', 'POSTGRES_PASSWORD'),
|
||||||
'HOST': env('PGHOST', default='localhost'),
|
'HOST': env('PGHOST', default='localhost'),
|
||||||
'PORT': env('PGPORT', default='5432'),
|
'PORT': int(env('PGPORT', default='5432')),
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'sslmode': 'prefer', # Prefer SSL, but allow non-SSL connections
|
'sslmode': 'prefer', # Prefer SSL, but allow non-SSL connections
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue