Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxi): pass value of https through to vite-node #7271

Merged
merged 2 commits into from Sep 6, 2022
Merged

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#14783

❓ 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 PR passes the value of https through to vite-node (which was reading it). Note that if users are using a self-signed certificate then they will also need to set NODE_TLS_REJECT_UNAUTHORIZED=0, for example:

NODE_TLS_REJECT_UNAUTHORIZED=0 yarn dev --https --ssl-cert localhost.pem --ssl-key localhost-key.pem

πŸ“ Checklist

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

@danielroe danielroe added bug Something isn't working vite πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage labels Sep 6, 2022
@danielroe danielroe requested a review from pi0 September 6, 2022 09:21
@danielroe danielroe self-assigned this Sep 6, 2022
@netlify
Copy link

netlify bot commented Sep 6, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 58b2aa9
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/63171117f0497e00091cb67c
😎 Deploy Preview https://deploy-preview-7271--nuxt3-docs.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x bug Something isn't working πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage vite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

https for dev-server
2 participants