Skip to content

refactor: change api routes and auto-import registeration #596

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
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

farnabaz
Copy link
Collaborator

@farnabaz farnabaz commented Jun 4, 2025

To prevent touching the repo structure and also preventing duplicate import warning, I created a small util addServerHandlers to scan and register API routes and removed addServerScanDir usages.

Copy link

Deploying playground with  Cloudflare Pages  Cloudflare Pages

Latest commit: c13e0df
Status: ✅  Deploy successful!
Preview URL: https://cb6fa0d2.playground-bhb.pages.dev
Branch Preview URL: https://chore-refactor-auto-import.playground-bhb.pages.dev

View logs

Copy link

pkg-pr-new bot commented Jun 4, 2025

npm i https://pkg.pr.new/@nuxthub/core@596

commit: c13e0df

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.

1 participant