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

CORS issue on server #122

Open
codebanesr opened this issue Jul 16, 2023 · 4 comments
Open

CORS issue on server #122

codebanesr opened this issue Jul 16, 2023 · 4 comments

Comments

@codebanesr
Copy link
Contributor

codebanesr commented Jul 16, 2023

Worked perfectly on my local machine, but when i deploy the application on remote server, i get the following cors error. How can i fix this ?

Access to XMLHttpRequest at 'http://localhost:8000/api/chat/send' from origin 'http://20.11.*.*:8000' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space local.local.

@codebanesr
Copy link
Contributor Author

You need to setup your base url in chat.js file. replace http://localhost:8000 with your server's base url and port on which the server is running on

@Laptop1710
Copy link

Como saber si mi cel está siendo intervenido remotamente

1 similar comment
@Laptop1710
Copy link

Como saber si mi cel está siendo intervenido remotamente

@gharbat
Copy link
Member

gharbat commented Jul 18, 2023

@codebanesr exactly.

I am leaving this one open to document it on docs.openchat.so (work in progress)

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

3 participants