Skip to content
Discussion options

You must be logged in to vote

You can use hosts parameter:

export default defineConfig({
  server: {
    https: true
  },
  plugins: [
    mkcert({
           hosts: ['localhost','192.168.1.11']  
      })
]
})

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Aarbel
Comment options

@liuweiGL
Comment options

Answer selected by Aarbel
Comment options

You must be logged in to vote
1 reply
@Aarbel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants