(20250221) Trying to resolve CORS problem in the MikroTik in Kenya.
This commit is contained in:
+4
-1
@@ -187,7 +187,10 @@ APP_VERSION = constants.APP_VERSION
|
||||
|
||||
# The Quart app:
|
||||
app = Quart(__name__, template_folder = r"../views_v2")
|
||||
app = cors(app)
|
||||
app = cors(
|
||||
app,
|
||||
allow_origin = ["wifi.hiranitelcom.co.ke"]
|
||||
)
|
||||
|
||||
# Mail Blueprints:
|
||||
app.register_blueprint(mail_oauth_request_bp, url_prefix = f"/{MODULE_BASE}/mail")
|
||||
|
||||
Reference in New Issue
Block a user