Skip to content

Commit b6cef57

Browse files
blog: headers
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 7f983ec commit b6cef57

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • blog/2026-04-05-http-requests-typescript-serverless-functions

blog/2026-04-05-http-requests-typescript-serverless-functions/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export const fetchRandomDog = defineUpdate({
4343
const args: HttpRequestArgs = {
4444
url: "https://dog.ceo/api/breeds/image/random",
4545
method: "GET",
46-
headers: [],
4746
isReplicated: false
4847
};
4948

@@ -90,8 +89,7 @@ export const fetchRandomDog = defineUpdate({
9089
const args: HttpRequestArgs = {
9190
url: "https://dog.ceo/api/breeds/image/random",
9291
method: "GET",
93-
headers: [],
94-
isReplicated: false,
92+
isReplicated: true,
9593
transform: "trimHeaders"
9694
};
9795

0 commit comments

Comments
 (0)