diff --git a/client/.env.development b/client/.env.development index 9c6a2e7e..ddec322d 100644 --- a/client/.env.development +++ b/client/.env.development @@ -1,4 +1,4 @@ NEXTAUTH_URL=http://localhost:$PORT NEXTAUTH_SECRET=WAzjpS46vFxp17TsRDU3FXo+TF0vrfy6uhCXwGMBUE8= #NEXT_PUBLIC_API_URL=https://dev.blue-carbon-cost-tool.dev-vizzuality.com/api -NEXT_PUBLIC_API_URL=http://localhost:4000 \ No newline at end of file +NEXT_PUBLIC_API_URL=http://localhost:4000 diff --git a/infrastructure/modules/env/client_env_vars.tf b/infrastructure/modules/env/client_env_vars.tf index 2cf49004..493bc305 100644 --- a/infrastructure/modules/env/client_env_vars.tf +++ b/infrastructure/modules/env/client_env_vars.tf @@ -10,5 +10,6 @@ locals { } client_env_vars = { NEXT_PUBLIC_API_URL = "https://${var.environment}.blue-carbon-cost-tool.dev-vizzuality.com/api" + NEXTAUTH_URL = "https://${var.environment}.blue-carbon-cost-tool.dev-vizzuality.com" } } \ No newline at end of file