Fix a bug

#32
Fix a bug about register
This commit is contained in:
Lost-MSth
2021-11-21 13:57:09 +08:00
parent d0be49fe20
commit 7dc8bfea9a

View File

@@ -214,7 +214,7 @@ def login():
return error_return(error_code)
@app.route(add_url_prefix('/user/'), methods=['POST']) # 注册接口
@app.route(add_url_prefix('/user'), methods=['POST']) # 注册接口
def register():
if 'AppVersion' in request.headers: # 版本检查
if Config.ALLOW_APPVERSION: