This commit is contained in:
Alan Grainger
2024-11-15 20:03:23 +01:00
parent f914193be8
commit 6ace375a5d
4 changed files with 124 additions and 1 deletions
+13
View File
@@ -107,6 +107,19 @@ app.get('/healthcheck', async (_req, res) => {
}
})
/*
* [ROUTE] Home page
*
* It was requested here to have *something* on the home page:
* https://github.com/alangrainger/immich-public-proxy/discussions/19
*
* If you don't want to see this, you can redirect to a URL of your choice by changing your
* reverse proxy config, or even redirect to 404 if you like.
*/
app.get('/', (_req, res) => {
res.render('home')
})
/*
* Send a 404 for all other routes
*/