-
Notifications
You must be signed in to change notification settings - Fork 168
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
useMenu CORS in local #77
Comments
@ambercit did you figure this out? |
@shadcn we solve by the links you offer,is this will support drupal layout build later |
@ambercit For Layout Builder we are currently blocked by this issue: Expose Layout Builder data to REST and JSON:API |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
useMenu in layout page
Access to fetch at 'http://local.nextjs.com:8888/jsonapi/menu_items/main' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
index.esm.js?84fa:186 GET http://local.nextjs.com:8888/jsonapi/menu_items/main net::ERR_FAILED
The text was updated successfully, but these errors were encountered: