We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f689c6 commit 75c7865Copy full SHA for 75c7865
functions/file/[id].js
@@ -23,6 +23,7 @@ export async function onRequest(context) { // Contents of context object
23
const response = new Response(imgContent.body, {
24
headers: {
25
'Content-Type': imgContent.httpMetadata['content-type'] || 'application/octet-stream',
26
+ 'Content-Disposition': 'inline',
27
}
28
});
29
return response;
0 commit comments