updated settings file #28

Open
madeleinema wants to merge 1 commit from updatesettingsfile into master

View file

@ -1,3 +1,5 @@
import sys
from pathlib import Path from pathlib import Path
from config import DB_NAME, DB_USER, DB_HOST, DB_PASSWORD, DB_PORT, SECRET_KEY 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://localhost:5173",
"http://127.0.0.1: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"