updated settings file
This commit is contained in:
parent
058a64b4a9
commit
baf62249b2
1 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import sys
|
||||
|
||||
from pathlib import Path
|
||||
from config import DB_NAME, DB_USER, DB_HOST, DB_PASSWORD, DB_PORT, SECRET_KEY
|
||||
|
||||
|
|
@ -122,3 +124,10 @@ CORS_ALLOWED_ORIGINS = [
|
|||
"http://localhost:5173",
|
||||
"http://127.0.0.1:5173",
|
||||
]
|
||||
|
||||
if sys.platform == "darwin":
|
||||
GDAL_LIBRARY_PATH = "/opt/homebrew/opt/gdal/lib/libgdal.dylib"
|
||||
GEOS_LIBRARY_PATH = "/opt/homebrew/opt/geos/lib/libgeos_c.dylib"
|
||||
|
||||
SECURE_REFERER_POLICY = "no-referrer-when-downgrade"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue