Update mw.py
This commit is contained in:
parent
706afbd681
commit
48ee5574c7
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue