This commit is contained in:
Timothy J. Baek committed 2024-07-08 11:34:24 -07:00
1 parent 95426fc6c9
commit 3b27acc77e
3 files changed
+7 -6

No files matched your search

+4
View File
@@ -1331,3 +1331,7 @@ AUDIO_TTS_VOICE = PersistentConfig(
####################################
DATABASE_URL = os.environ.get("DATABASE_URL", f"sqlite:///{DATA_DIR}/webui.db")
# Replace the postgres:// with postgresql://
if "postgres://" in DATABASE_URL:
DATABASE_URL = DATABASE_URL.replace("postgres://", "postgresql://")