Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
futurGH committed Dec 21, 2023
1 parent f333bea commit d782765
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/routes/api/contact.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import type { HydrogenRequest } from "@shopify/hydrogen";

const env: Record<string, string> = typeof Oxygen !== "undefined" && "env" in Oxygen ? Oxygen.env : import.meta.env;

console.log({
accessKeyId: env.SES_ACCESS_KEY_ID,
secretAccessKey: env.SES_ACCESS_KEY,
});
const client = new SESClient({
credentials: {
accessKeyId: env.SES_ACCESS_KEY_ID,
Expand Down

0 comments on commit d782765

Please sign in to comment.