Skip to content

Commit

Permalink
5
Browse files Browse the repository at this point in the history
  • Loading branch information
futurGH committed Dec 23, 2023
1 parent f8814e4 commit 9dea3f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/api/contact.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const client = new SESClient({
export async function api(request: HydrogenRequest) {
console.log(request);
console.log(JSON.stringify(env));
console.log("Oxygen");
console.log(Oxygen);
if (request.method === "GET") return new Response(null, { status: 302, headers: { Location: "/contact-us" } });
if (request.method !== "POST") return new Response(null, { status: 405 });

Expand Down

0 comments on commit 9dea3f7

Please sign in to comment.