-
@liuweiGL thanks a lot for this amazing plugin Cf my issue with Capacitor / Auth0 ionic-team/capacitor#5149 Giving maybe more examples in your doc could be useful: In which case and how should i use |
Beta Was this translation helpful? Give feedback.
Answered by
liuweiGL
Oct 19, 2021
Replies: 2 comments 3 replies
-
You can use hosts parameter: export default defineConfig({
server: {
https: true
},
plugins: [
mkcert({
hosts: ['localhost','192.168.1.11']
})
]
}) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Aarbel
-
The plugin will generate a certificate for all local ips by default, i think it as same as Ref: getDefaultHosts |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use hosts parameter: