1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2024-12-29 12:21:57 +00:00

Update index.ts

This commit is contained in:
Alan Grainger 2024-11-13 14:31:55 +01:00 committed by GitHub
parent 9ebcf72fe4
commit 8b6d9e2d1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ app.use(express.json())
app.use(express.static('public', { setHeaders: addResponseHeaders })) app.use(express.static('public', { setHeaders: addResponseHeaders }))
/* /*
* [ROUTE] This is the request for a shared link * [ROUTE] This is the main URL that someone would visit if they are opening a shared link
*/ */
app.get('/share/:key', async (req, res) => { app.get('/share/:key', async (req, res) => {
await immich.handleShareRequest({ await immich.handleShareRequest({