This commit is contained in:
parent
6c175a7008
commit
907d638a8c
|
|
@ -785,7 +785,7 @@ class DeploymentServer:
|
||||||
# 获取当前访问的主机IP(从请求头中获取)
|
# 获取当前访问的主机IP(从请求头中获取)
|
||||||
host_ip = request.host.split(':')[0] # 去掉端口号,只保留IP
|
host_ip = request.host.split(':')[0] # 去掉端口号,只保留IP
|
||||||
|
|
||||||
html = '''
|
html = f'''
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue