fix: adiciona CORS_ORIGINS para permitir frontend HTTPS
This commit is contained in:
parent
69a5d779c6
commit
8b37b87398
1 changed files with 2 additions and 1 deletions
|
|
@ -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"]
|
||||
Loading…
Reference in a new issue