extension-getting-started icon indicating copy to clipboard operation
extension-getting-started copied to clipboard

Issues with preflight requests

Open Therealzz opened this issue 3 years ago • 0 comments

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.

Therealzz avatar Oct 30 '22 12:10 Therealzz