add styling

This commit is contained in:
tylen
2025-11-02 00:05:03 +02:00
parent cef340a679
commit 1dfaa261e1
10 changed files with 215 additions and 134 deletions

View File

@@ -18,7 +18,7 @@ app.config['JSON_AS_ASCII'] = False # Ensures non-ASCII characters are preserve
logging.basicConfig(level=logging.INFO)
allowed_origins = [
"https://nyipyatki.davydovcloud.com",
"https://nyipyatki-dev.davydovcloud.com",
"http://192.168.100.*",
]
CORS(app, resources={r"*": {"origins": allowed_origins}}) # Only allow example.com
database = DBClient(app)