Skip to content

fix: use RPC to get tasks#625

Merged
antfu merged 3 commits intonuxt:mainfrom
noook:main
Mar 20, 2024
Merged

fix: use RPC to get tasks#625
antfu merged 3 commits intonuxt:mainfrom
noook:main

Conversation

@noook
Copy link
Copy Markdown
Contributor

@noook noook commented Mar 20, 2024

When used in a regular project, the devtools try to fetch http://localhost:3000/__nuxt_devtools__/client/_nitro/tasks which is wrong (Returns 200 text/html).

This PR makes the switch to use RPC like other features.

Note: This also enabled open in editor feature as RPC provides the task's file path 

@noook
Copy link
Copy Markdown
Contributor Author

noook commented Mar 20, 2024

/cc @atinux

@antfu antfu merged commit 4f347a2 into nuxt:main Mar 20, 2024
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