Skip to content

Commit

Permalink
Update mw.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jun 7, 2024
1 parent 9d24d70 commit 5509a7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion class/core/mw.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,10 @@ def getClientIp():
def checkDomainPanel():
tmp = getHost()
domain = readFile('data/bind_domain.pl')
port = readFile('data/port.pl').strip()

port = 7200
if os.path.exists('data/port.pl'):
port = readFile('data/port.pl').strip()

scheme = 'http'

Expand Down

0 comments on commit 5509a7b

Please sign in to comment.