diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 7bf32ff..92ef751 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -52,7 +52,7 @@ spec: - name: LISTENING_PORT value: "3000" - name: ALLOWED_CORS - value: "https://wordnote.ajktown.com,https://consistency.ajktown.com" + value: "https://wordnote.ajktown.com,https://consistency.ajktown.com,https://golf.ajktown.com" - name: ENV value: "prod" - name: IS_CHAT_GPT_ENABLED diff --git a/src/lambdas/get-env.lambda.ts b/src/lambdas/get-env.lambda.ts index 386fbdf..9cb3c00 100644 --- a/src/lambdas/get-env.lambda.ts +++ b/src/lambdas/get-env.lambda.ts @@ -43,7 +43,7 @@ export const envLambda = { }, getCorsOrigin: (): string[] => { const got = envLambda.get(SupportedEnvAttr.Cors) - if (!got) return ['http://localhost:3000,http://localhost:3100'] // default value + if (!got) return ['http://localhost:3000,http://localhost:3100','http://localhost:3200'] // default value return got.split(',') },