Skip to content

feat: allow local endpoint path to be overridden with icon.localApiEndpoint #191

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

Merged
merged 1 commit into from
Jul 15, 2024
Merged

feat: allow local endpoint path to be overridden with icon.localApiEndpoint #191

merged 1 commit into from
Jul 15, 2024

Conversation

danjrwalsh
Copy link
Contributor

Closes #185

Adds a localApiEndpoint setting to the module options to allow the default server handler path to be overridden. This is useful in situations where the default /api prefix may conflict with existing path-forwarding rules.

@antfu antfu merged commit b05feee into nuxt:main Jul 15, 2024
1 check passed
@danjrwalsh danjrwalsh deleted the feat/override-local-endpoint-path branch July 15, 2024 17:15
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.

Default /api endpoint base route causes conflict with common path-forwarding rules
2 participants