mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 09:22:27 +00:00
docs: update devServer.https
example (#19486)
This commit is contained in:
parent
abcd27ae03
commit
b9e6980a62
@ -7,15 +7,14 @@ export default defineUntypedSchema({
|
|||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* ```
|
* ```
|
||||||
* import { fileURLToPath } from 'node:url'
|
* export default defineNuxtConfig({
|
||||||
* export default {
|
* devServer: {
|
||||||
* server: {
|
|
||||||
* https: {
|
* https: {
|
||||||
* key: fs.readFileSync(fileURLToPath(new URL('./server.key', import.meta.url))),
|
* key: './server.key',
|
||||||
* cert: fs.readFileSync(fileURLToPath(new URL('./server.crt', import.meta.url)))
|
* cert: './server.crt'
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* }
|
* })
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user