Fix syntax errors in MapView.vue and improve backend production robustness (CORS, DB URL, auto-migrations, and seeding)

This commit is contained in:
2026-02-22 16:00:52 -05:00
parent 33154169c8
commit 532aad16df
18 changed files with 2460 additions and 2995 deletions

View File

@ -42,5 +42,12 @@ class Settings(BaseSettings):
)
# Global settings instance
# Global settings instance
@property
def get_database_url(self) -> str:
url = self.database_url
if url.startswith("postgres://"):
url = url.replace("postgres://", "postgresql://", 1)
return url
settings = Settings()