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

Issues with preflight requests #16

Open
Therealzz opened this issue Oct 30, 2022 · 0 comments
Open

Issues with preflight requests #16

Therealzz opened this issue Oct 30, 2022 · 0 comments

Comments

@Therealzz
Copy link

AJAX request sent from front-end is permanently held by preflight requests,
causing the sample code unable the refresh with initial color nor cycle when clicking the button.

Possible fix:

  1. Replace and update the hapi package to @hapi/hapi
  2. Add a route in the backend for OPTIONS method to handle the preflight request.
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