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(nuxt): correctly remove extension from path in hasSuffix util #26725

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

DamianGlowala
Copy link
Member

🔗 Linked issue

resolves #26721

📚 Description

Leverages built-in extension removal in basename method instead of incorrectly replacing first occurence of an extension in the last segment of middleware file path.

@DamianGlowala DamianGlowala self-assigned this Apr 10, 2024
Copy link

stackblitz bot commented Apr 10, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

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

Successfully merging this pull request may close these issues.

Middleware including '.js' in filename is not executed
2 participants