Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro Cors #16

Open
renannevesr opened this issue Mar 27, 2024 · 1 comment
Open

Erro Cors #16

renannevesr opened this issue Mar 27, 2024 · 1 comment

Comments

@renannevesr
Copy link

Estou tendo um problema com CORS ao tentar rodar na local.

Quanto tento entrar por outra máquina na rede local fica dando problema na conexão:
image

Se eu tento pelo própria máquina sendo ir pelo localhost consigo entrar, mas eu tento pelo ip da maquina retorna:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource

@iguinhomc
Copy link

Obtive o mesmo erro ao tentar rodar pela primeira vez. Para solicionar utilizei nos arquivos .env do Backend e do Frontend o URL de acesso externo(site). Já nas configurações do nginx utilizei como server_name o URL externo e o proxypass no URL interno (127.0.0.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants