From 97360dab268dcb768397d98eac689c62a7dd5862 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Tue, 14 Sep 2021 12:10:25 +0800 Subject: [PATCH] add /.well-known/change-password --- server/server.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/server.js b/server/server.js index a0b9a2fbb..44f98b6b2 100644 --- a/server/server.js +++ b/server/server.js @@ -151,6 +151,10 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString(); app.use("/", express.static("dist")); + app.get("/.well-known/change-password", async (_, response) => { + response.redirect("https://github.com/louislam/uptime-kuma/wiki/Reset-Password-via-CLI"); + }); + // Universal Route Handler, must be at the end app.get("*", async (_request, response) => { response.send(indexHTML);