We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1be9a0d commit 3049c90Copy full SHA for 3049c90
src/metadata.ts
@@ -41,7 +41,7 @@ export const getMetadataFromResponse = (response: Response) => {
41
42
// If metadata is coming from the API, it will be under the external header.
43
// If it's coming from the edge, it will be under the internal header.
44
- const value = response.headers.get(METADATA_HEADER_INTERNAL) || response.headers.get(METADATA_HEADER_EXTERNAL)
+ const value = response.headers.get(METADATA_HEADER_EXTERNAL) || response.headers.get(METADATA_HEADER_INTERNAL)
45
46
try {
47
return decodeMetadata(value)
0 commit comments