mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2024-12-28 20:01:57 +00:00
Whitelist mode
This commit is contained in:
parent
deafdfe181
commit
4d563d69aa
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ app.use(express.static('public', { setHeaders: addResponseHeaders }))
|
||||||
/*
|
/*
|
||||||
* [ROUTE] This is the main URL that someone would visit if they are opening a shared link
|
* [ROUTE] This is the main URL that someone would visit if they are opening a shared link
|
||||||
*/
|
*/
|
||||||
app.get('/share/:key/:mode?', async (req, res) => {
|
app.get('/share/:key/:mode(download)?', async (req, res) => {
|
||||||
await immich.handleShareRequest({
|
await immich.handleShareRequest({
|
||||||
key: req.params.key,
|
key: req.params.key,
|
||||||
mode: req.params.mode
|
mode: req.params.mode
|
||||||
|
|
Loading…
Reference in a new issue