Skip to content

Commit 75c7865

Browse files
authored
Update [id].js
1 parent 2f689c6 commit 75c7865

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/file/[id].js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export async function onRequest(context) { // Contents of context object
2323
const response = new Response(imgContent.body, {
2424
headers: {
2525
'Content-Type': imgContent.httpMetadata['content-type'] || 'application/octet-stream',
26+
'Content-Disposition': 'inline',
2627
}
2728
});
2829
return response;

0 commit comments

Comments
 (0)