Skip to content

Commit

Permalink
[files] make download URL access: public (#162707)
Browse files Browse the repository at this point in the history
This endpoint is used in `href`s and should continue to work without
require any special headers.
  • Loading branch information
jloleysens authored Jul 31, 2023
1 parent 6b44fff commit 1a30dfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/files/server/routes/public_facing/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export function register(router: FilesRouter) {
validate: { ...rt },
options: {
authRequired: false,
access: 'public',
},
},
handler
Expand Down

0 comments on commit 1a30dfa

Please sign in to comment.