From 8b37b873981b817faffa0938f9aef07654148cb9 Mon Sep 17 00:00:00 2001 From: Tiago Yamamoto Date: Tue, 17 Feb 2026 11:46:22 -0600 Subject: [PATCH] fix: adiciona CORS_ORIGINS para permitir frontend HTTPS --- backend/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index c4905dc..a988640 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -36,7 +36,8 @@ COPY --from=builder /build/migrations /migrations ENV PORT=8521 \ TZ=America/Sao_Paulo \ GODEBUG=netdns=go \ - GOGC=50 + GOGC=50 \ + CORS_ORIGINS=https://local.gohorsejobs.com,https://b-local.gohorsejobs.com,http://localhost:3000,http://localhost:8521 EXPOSE 8521 ENTRYPOINT ["/main"] \ No newline at end of file