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(module): prevent conflict with auth & security tools #3245

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

farnabaz
Copy link
Member

@farnabaz farnabaz commented Mar 12, 2025 β€’

πŸ”— Linked issue

resolves #3043
resovles #3243
resovles #3091

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Due to the behavior of the serve package, using the database.sql as filename for the database dump breaks the spa apps. Renaming the filename to sql_dump fixes the issue

Rename database.sql to sql_dump to prevent having conflict with security services.

Instead of registering API routes under /api/content, module now registers APIs under /__nuxt_content prefix. By doing so, the module APIs will no longer conflict with user APIs and authentication.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Sorry, something went wrong.

Copy link

pkg-pr-new bot commented Mar 12, 2025

npm i https://pkg.pr.new/@nuxt/content@3245

commit: 5fcc19a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant