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 adeb0b8 commit 30d8ffcCopy full SHA for 30d8ffc
src/functions-templates/typescript/log/{{name}}.ts
@@ -1,7 +1,7 @@
1
import type { Context } from "https://edge.netlify.com";
2
3
export default async (request: Request, context: Context) => {
4
- console.log("Hello from the logging service");
+ console.log(`There was a request from ${context.geo.city} to ${request.url}`);
5
6
return new Response("The request to this URL was logged", {
7
headers: { "content-type": "text/html" },
0 commit comments