Skip to content

Commit

Permalink
Merge branch 'main' into stevem-zhou-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
stevem-zhou authored May 16, 2024
2 parents fba3d2e + e231755 commit b6b71c4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions stacks/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ export function BackendStack({ stack }: StackContext) {
function: {
bind: [bus],
environment: {
EMAIL: process.env.EMAIL as string,
REFRESH_TOKEN: process.env.REFRESH_TOKEN as string,
CLIENT_SECRET: process.env.CLIENT_SECRET as string,
CLIENT_ID: process.env.CLIENT_ID as string,
REDIRECT_URI: process.env.REDIRECT_URI as string,
NODE_ENV: process.env.NODE_ENV as string,
AWS_USER: process.env.AWS_USER as string,
AWS_PASSWORD: process.env.AWS_PASSWORD as string,
AWS_HOST: process.env.AWS_HOST as string,
AWS_PORT: process.env.AWS_PORT as string,
AWS_DB_NAME: process.env.AWS_DB_NAME as string,
EMAIL: process.env.EMAIL,
REFRESH_TOKEN: process.env.REFRESH_TOKEN,
CLIENT_SECRET: process.env.CLIENT_SECRET,
CLIENT_ID: process.env.CLIENT_ID,
REDIRECT_URI: process.env.REDIRECT_URI,

NODE_ENV: process.env.NODE_ENV,

AWS_USER: process.env.AWS_USER,
AWS_PASSWORD: process.env.AWS_PASSWORD,
AWS_HOST: process.env.AWS_HOST,
AWS_PORT: process.env.AWS_PORT,
AWS_DB_NAME: process.env.AWS_DB_NAME,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion stacks/frontend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function FrontendStack({ stack }: StackContext) {
buildCommand: "pnpm run build",
customDomain: "zotnfound.com",
environment: {
VITE_REACT_APP_AWS_BACKEND_URL: apiUrl,
VITE_REACT_APP_AWS_BACKEND_URL: apiUrl, //https://805cgohzr0.execute-api.us-east-1.amazonaws.com/
VITE_REACT_APP_API_KEY: process.env.VITE_REACT_APP_API_KEY!,
VITE_REACT_APP_AUTH_DOMAIN: process.env.VITE_REACT_APP_AUTH_DOMAIN!,
VITE_REACT_APP_PROJECT_ID: process.env.VITE_REACT_APP_PROJECT_ID!,
Expand Down

0 comments on commit b6b71c4

Please sign in to comment.