Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

fix(kit): normalize nitro handler paths - #8626

Merged
pi0 merged 1 commit into
mainfrom
fix/normalise-paths
Nov 3, 2022
Merged

fix(kit): normalize nitro handler paths#8626
pi0 merged 1 commit into
mainfrom
fix/normalise-paths

Conversation

@danielroe

@danielroedanielroe commented Nov 2, 2022

Copy link
Copy Markdown
Member

🔗 Linked issue

Baroshem/nuxt-security#42

❓ 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

This normalizes paths to handlers passed in via addServerHandler and addDevServerHandler.

📝 Checklist

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

@danielroedanielroe added bug Something isn't working vite kit labels Nov 2, 2022
@danielroe
danielroe requested a review from pi0November 2, 2022 14:09
@danielroedanielroe self-assigned this Nov 2, 2022
@codesandbox

Copy link
Copy Markdown

CodeSandbox logoCodeSandbox logo Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify

netlifyBot commented Nov 2, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commit285d3db
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/63627a2eb75a910008ed6729

pi0
pi0 approved these changes Nov 3, 2022

@pi0pi0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(we may need to apply this patch from nitro as well to handle similar edge cases)

@pi0
pi0 merged commit 7c4899a into mainNov 3, 2022
@pi0
pi0 deleted the fix/normalise-paths branch November 3, 2022 14:04
@pi0pi0 mentioned this pull request Nov 3, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xbugSomething isn't workingkitvite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@danielroe@pi0@Baroshem