Whitelist mode
This commit is contained in:
parent
deafdfe181
commit
4d563d69aa
@ -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 New Issue
Block a user