Out of the box https solution for local development #33768
Replies: 7 comments 2 replies
-
Vercel? Are you there? It's the people that use your software. Stop ignoring us and add this basic feature that has been requested over and over. |
Beta Was this translation helpful? Give feedback.
-
+1 for the feature. Its just painful not to have it |
Beta Was this translation helpful? Give feedback.
-
Why Vercel ignores? |
Beta Was this translation helpful? Give feedback.
-
Is there a solution for this one? |
Beta Was this translation helpful? Give feedback.
-
Is there any official way to submit request for this feature? |
Beta Was this translation helpful? Give feedback.
-
Wow, just wow. So it was a bad idea to try to learn next.js after all. |
Beta Was this translation helpful? Give feedback.
-
Since |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Devtools like vite or create-react-app have just simple solution to serve the dev server over https. This is still unsecure I know, but it is possible to create simple local certs to make https secure possible.
I couldn't find an easy solution to just start a https server with nextjs, I found out that other devtools do that a lot easier.
In vite you can start a https server like this:
In create react app like this:
Why do I need https for local development
I was building app with nextjs that included the MediaDevices api, but you can only use the api if you're running on https. Ended up using ngrok, what was ok for that project.
And I think there are a lot more reasons why running a devserver over https is usefull.
But why is their no out of the box https solution?
Beta Was this translation helpful? Give feedback.
All reactions