diff --git a/src/webui/src/api/Auth.ts b/src/webui/src/api/Auth.ts index c39ae360..0992e50d 100644 --- a/src/webui/src/api/Auth.ts +++ b/src/webui/src/api/Auth.ts @@ -57,12 +57,12 @@ export const checkHandler: RequestHandler = async (req, res) => { code: 0, message: 'success' }); + return; } catch (e) { res.json({ code: -1, message: 'failed' }); } - return; }; diff --git a/static/index.html b/static/index.html index 79d93995..faf2893d 100644 --- a/static/index.html +++ b/static/index.html @@ -9,13 +9,58 @@