Skip to content

Commit 0646ffe

Browse files
authored
Update log.ts
1 parent e08ed76 commit 0646ffe

File tree

1 file changed

+1
-3
lines changed
  • examples/edge-functions/netlify/edge-functions

1 file changed

+1
-3
lines changed

examples/edge-functions/netlify/edge-functions/log.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import type { Context, Config } from "@netlify/edge-functions";
33
export default async (request: Request, context: Context) => {
44
console.log("Hello from the logging service");
55

6-
return new Response("The request to this URL was logged", {
7-
headers: { "content-type": "text/plain" },
8-
});
6+
return new Response("The request to this URL was logged");
97
};
108

119
export const config: Config = {

0 commit comments

Comments
 (0)