mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
adc413b3fb
This adds an `--experimental-https` flag to `next dev` which will generate a self-signed certificate via [mkcert](https://github.com/FiloSottile/mkcert) and use it for the dev server. also supports passing in pre-existing certs via `--experimental-https-cert` and `--experimental-https-key` x-ref: https://github.com/vercel/next.js/discussions/33768 https://github.com/vercel/next.js/discussions/10935
4 lines
81 B
JavaScript
4 lines
81 B
JavaScript
export default function Page() {
|
|
return <div id="app">Hello from Pages</div>
|
|
}
|