mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
o
This commit is contained in:
+1
-1
@@ -173,7 +173,7 @@ def get_language():
|
||||
return readFile(path).strip()
|
||||
|
||||
|
||||
def WriteLog(type, logMsg, args=()):
|
||||
def writeLog(type, logMsg, args=()):
|
||||
# 写日志
|
||||
try:
|
||||
import time
|
||||
|
||||
+5
-2
@@ -9,8 +9,6 @@ import psutil
|
||||
import time
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
sys.path.append(os.getcwd() + "/class/")
|
||||
|
||||
|
||||
@@ -39,6 +37,11 @@ def code():
|
||||
return out.getvalue()
|
||||
|
||||
|
||||
@dashboard.route("/check_login")
|
||||
def checkLogin():
|
||||
return render_template('default/login.html')
|
||||
|
||||
|
||||
@dashboard.route("/login")
|
||||
def login():
|
||||
return render_template('default/login.html')
|
||||
|
||||
Reference in New Issue
Block a user