updated settings file

This commit is contained in:
Madeleine 2026-06-22 00:04:04 -04:00
parent 058a64b4a9
commit baf62249b2

View file

@ -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"