Skip to content

Issues with preflight requestsΒ #16

@Therealzz

Description

@Therealzz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions