Skip to content

Commit

Permalink
Added Host header
Browse files Browse the repository at this point in the history
  • Loading branch information
cultpodcasts committed May 9, 2024
1 parent 1482267 commit 18b03fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ app.post("/submit", auth0Middleware, async (c) => {
'Authorisation': authorisation,
"Content-type": "application/json",
"Cache-Control": "no-cache",
"User-Agent": "PostmanRuntime/7.37.3"
"User-Agent": "cultvault-podcasts-api",
"Host": new URL(c.env.secureSubmitEndpoint).host
},
body: JSON.stringify(data),
method: "POST"
Expand Down

0 comments on commit 18b03fc

Please sign in to comment.