mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nuxi): improved self-signed certificate for nuxi dev --https
(#7545)
This commit is contained in:
parent
4775ee8e31
commit
a18f17797a
@ -36,7 +36,7 @@
|
|||||||
"flat": "^5.0.2",
|
"flat": "^5.0.2",
|
||||||
"giget": "^0.1.6",
|
"giget": "^0.1.6",
|
||||||
"jiti": "^1.15.0",
|
"jiti": "^1.15.0",
|
||||||
"listhen": "^0.2.15",
|
"listhen": "^0.3.0",
|
||||||
"mlly": "^0.5.14",
|
"mlly": "^0.5.14",
|
||||||
"mri": "^1.2.0",
|
"mri": "^1.2.0",
|
||||||
"pathe": "^0.3.7",
|
"pathe": "^0.3.7",
|
||||||
|
@ -48,8 +48,7 @@ export default defineNuxtCommand({
|
|||||||
open: args.open || args.o,
|
open: args.open || args.o,
|
||||||
port: args.port || args.p || process.env.NUXT_PORT,
|
port: args.port || args.p || process.env.NUXT_PORT,
|
||||||
hostname: args.host || args.h || process.env.NUXT_HOST,
|
hostname: args.host || args.h || process.env.NUXT_HOST,
|
||||||
https: Boolean(args.https),
|
https: args.https && {
|
||||||
certificate: (args['ssl-cert'] && args['ssl-key']) && {
|
|
||||||
cert: args['ssl-cert'],
|
cert: args['ssl-cert'],
|
||||||
key: args['ssl-key']
|
key: args['ssl-key']
|
||||||
}
|
}
|
||||||
|
27
yarn.lock
27
yarn.lock
@ -8337,6 +8337,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"ip-regex@npm:^5.0.0":
|
||||||
|
version: 5.0.0
|
||||||
|
resolution: "ip-regex@npm:5.0.0"
|
||||||
|
checksum: 4098b2df89c015f1484a5946e733ec126af8c1828719d90e09f04af23ce487e1a852670e4d3f51b0dc6dfbaf7d8bfab23fd7893ca60e69833da99b7b1ee3623b
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"ip@npm:^2.0.0":
|
"ip@npm:^2.0.0":
|
||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
resolution: "ip@npm:2.0.0"
|
resolution: "ip@npm:2.0.0"
|
||||||
@ -9081,6 +9088,22 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"listhen@npm:^0.3.0":
|
||||||
|
version: 0.3.0
|
||||||
|
resolution: "listhen@npm:0.3.0"
|
||||||
|
dependencies:
|
||||||
|
clipboardy: ^3.0.0
|
||||||
|
colorette: ^2.0.19
|
||||||
|
defu: ^6.1.0
|
||||||
|
get-port-please: ^2.6.1
|
||||||
|
http-shutdown: ^1.2.2
|
||||||
|
ip-regex: ^5.0.0
|
||||||
|
node-forge: ^1.3.1
|
||||||
|
ufo: ^0.8.5
|
||||||
|
checksum: 4b34a6ef14e2bd91325275df567df6592233419f2bfc34195b565e29fa642ad74ffbeab3bcf524c314f4128ce0129d0d443b460c8bc0d1090f888c08cdf970ce
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"load-json-file@npm:^4.0.0":
|
"load-json-file@npm:^4.0.0":
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
resolution: "load-json-file@npm:4.0.0"
|
resolution: "load-json-file@npm:4.0.0"
|
||||||
@ -10117,7 +10140,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"node-forge@npm:^1":
|
"node-forge@npm:^1, node-forge@npm:^1.3.1":
|
||||||
version: 1.3.1
|
version: 1.3.1
|
||||||
resolution: "node-forge@npm:1.3.1"
|
resolution: "node-forge@npm:1.3.1"
|
||||||
checksum: 08fb072d3d670599c89a1704b3e9c649ff1b998256737f0e06fbd1a5bf41cae4457ccaee32d95052d80bbafd9ffe01284e078c8071f0267dc9744e51c5ed42a9
|
checksum: 08fb072d3d670599c89a1704b3e9c649ff1b998256737f0e06fbd1a5bf41cae4457ccaee32d95052d80bbafd9ffe01284e078c8071f0267dc9744e51c5ed42a9
|
||||||
@ -10431,7 +10454,7 @@ __metadata:
|
|||||||
fsevents: ~2.3.2
|
fsevents: ~2.3.2
|
||||||
giget: ^0.1.6
|
giget: ^0.1.6
|
||||||
jiti: ^1.15.0
|
jiti: ^1.15.0
|
||||||
listhen: ^0.2.15
|
listhen: ^0.3.0
|
||||||
mlly: ^0.5.14
|
mlly: ^0.5.14
|
||||||
mri: ^1.2.0
|
mri: ^1.2.0
|
||||||
pathe: ^0.3.7
|
pathe: ^0.3.7
|
||||||
|
Loading…
Reference in New Issue
Block a user