Spaces:
Sleeping
Sleeping
Update database configuration to use simplified secret keys for connection parameters.
Browse files
app.py
CHANGED
|
@@ -225,11 +225,11 @@ def handle_callback():
|
|
| 225 |
|
| 226 |
# Database configuration
|
| 227 |
DB_CONFIG = {
|
| 228 |
-
'host': st.secrets.
|
| 229 |
-
'port': int(st.secrets.
|
| 230 |
-
'user': st.secrets.
|
| 231 |
-
'password': st.secrets.
|
| 232 |
-
'database': st.secrets.
|
| 233 |
}
|
| 234 |
|
| 235 |
if __name__ == '__main__':
|
|
|
|
| 225 |
|
| 226 |
# Database configuration
|
| 227 |
DB_CONFIG = {
|
| 228 |
+
'host': st.secrets.host,
|
| 229 |
+
'port': int(st.secrets.port),
|
| 230 |
+
'user': st.secrets.user,
|
| 231 |
+
'password': st.secrets.password,
|
| 232 |
+
'database': st.secrets.database
|
| 233 |
}
|
| 234 |
|
| 235 |
if __name__ == '__main__':
|