Update mw.py

This commit is contained in:
midoks 2022-12-07 15:31:47 +08:00
parent 706afbd681
commit 48ee5574c7
1 changed files with 1 additions and 1 deletions

View File

@ -935,7 +935,7 @@ def checkDomainPanel():
return False
if tmp.strip().lower() != domain.strip().lower():
from flask import Flask, redirect, request, url_for
to = "http://" + domain + ":" + port
to = "http://" + domain + ":" + str(port)
return redirect(to, code=302)
return False