8000 @nuxthub/core not detected when disabling workers.dev domain · Issue #563 · nuxt-hub/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

@nuxthub/core not detected when disabling workers.dev domain #563

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

Open
yannickkordel opened this issue May 4, 2025 · 0 comments
Open

@nuxthub/core not detected when disabling workers.dev domain #563

yannickkordel opened this issue May 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@yannickkordel
Copy link
yannickkordel commented May 4, 2025

Describe the bug
I see the message "@nuxthub/core not detected." in the bottom left corner of the NuxtHub Dashboard. This happens if the Project type is "Cloudflare Workers (new)" and when disabling the project.user.workers.dev. domain. (e.g. through the dashboard or a wrangler.jsonc/toml file).

Steps to reproduce
Steps to reproduce the behavior:

  1. Add a custom domain to the worker, e.g by adding the following to your wrangler config file:
"routes": [
		{
		  "pattern": "myawesomedomain.com",
		  "custom_domain": true
		}
	  ],
  1. Add "workers_dev": false, to your wrangler config file
  2. Deploy the project
  3. Visit your project in the Dashboard https://admin.hub.nuxt.com/
  4. See error

Expected behavior
I expected the Dashboard to show the correct status even when having the workers.dev domain disabled.

I'm assuming the dashboard is trying to access /api/_hub/manifest on the workers.dev domain, which then fails. (Cloudflare responds with Status code 522 when the workers.dev domain is disabled). 

This only happens with Workers, but not with Cloudflare Pages since the pages.dev subdomain cannot be disabled there.

@yannickkordel yannickkordel added the bug Something isn't working label May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant
0