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

Enable CORS #141

Open
DmitriyBatkovich opened this issue Apr 8, 2024 · 2 comments
Open

Enable CORS #141

DmitriyBatkovich opened this issue Apr 8, 2024 · 2 comments

Comments

@DmitriyBatkovich
Copy link

How to Enable CORS on PHP Server?

@DmitriyBatkovich
Copy link
Author

DmitriyBatkovich commented Apr 8, 2024

When you turn on PHP Server in Visual Studio Code, the error CORS pops up, as I understand it, you can fix it by adding special headers, however, if I add them to index.php then the error does not disappear, as I understand it, the headers themselves need to be added specifically to the PHP Server itself

@DmitriyBatkovich
Copy link
Author

The only question is how to do it?

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

1 participant