mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-09 12:29:49 +08:00
add /.well-known/change-password
This commit is contained in:
@@ -151,6 +151,10 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
|
|||||||
|
|
||||||
app.use("/", express.static("dist"));
|
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
|
// Universal Route Handler, must be at the end
|
||||||
app.get("*", async (_request, response) => {
|
app.get("*", async (_request, response) => {
|
||||||
response.send(indexHTML);
|
response.send(indexHTML);
|
||||||
|
Reference in New Issue
Block a user