mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-07-07 05:37:00 +00:00
Update dashboard.py
- Disabled `EmailSender` for now
This commit is contained in:
parent
939dd0591e
commit
00acb04329
@ -2031,7 +2031,7 @@ def sqlUpdate(statement: str, paramters: tuple = ()) -> sqlite3.Cursor:
|
|||||||
|
|
||||||
|
|
||||||
DashboardConfig = DashboardConfig()
|
DashboardConfig = DashboardConfig()
|
||||||
EmailSender = EmailSender()
|
# EmailSender = EmailSender()
|
||||||
_, APP_PREFIX = DashboardConfig.GetConfig("Server", "app_prefix")
|
_, APP_PREFIX = DashboardConfig.GetConfig("Server", "app_prefix")
|
||||||
cors = CORS(app, resources={rf"{APP_PREFIX}/api/*": {
|
cors = CORS(app, resources={rf"{APP_PREFIX}/api/*": {
|
||||||
"origins": "*",
|
"origins": "*",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user