diff --git a/app/package.json b/app/package.json index e684bf0..f10f231 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "immich-public-proxy", - "version": "1.4.4", + "version": "1.4.5", "scripts": { "dev": "ts-node src/index.ts", "build": "npx tsc", diff --git a/app/public/images/ipp.svg b/app/public/images/ipp.svg new file mode 100644 index 0000000..f0fd867 --- /dev/null +++ b/app/public/images/ipp.svg @@ -0,0 +1,81 @@ + + + + diff --git a/app/src/index.ts b/app/src/index.ts index 0b0483a..a5db9db 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -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 */ diff --git a/app/views/home.ejs b/app/views/home.ejs new file mode 100644 index 0000000..c6ec4cf --- /dev/null +++ b/app/views/home.ejs @@ -0,0 +1,29 @@ + + + + + + + + +
+ +
+ +