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

fix: DevTools Database CORs error #57

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

harlan-zw
Copy link
Contributor

@harlan-zw harlan-zw commented Apr 9, 2024

When accessing the Database via the DevTools it shows a CORs error. This is due to the fetch occurring from an external domain (https://admin.hub.nuxt.com).

Normally this would be handled but we are filtering the route for post which is bypassing the options request.

This does not seem to be an issue for the other devtool pages.

image

@atinux
Copy link
Contributor

atinux commented Apr 10, 2024

Thanks @harlan-zw

Welcome to NuxtHub contributors 🚀

@atinux atinux merged commit 5b09b72 into nuxt-hub:main Apr 10, 2024
3 of 4 checks passed
Aslemammad pushed a commit to Aslemammad/nuxt-core that referenced this pull request Jun 12, 2024
Copy link

cloudflare-workers-and-pages bot commented Jul 3, 2024

Deploying nuxthub-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: aed88b1
Status: ✅  Deploy successful!
Preview URL: https://b6e7059b.nuxthub-module.pages.dev

View logs

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

Successfully merging this pull request may close these issues.

2 participants