Skip to content

Commit

Permalink
fix: preview mode can use https (liuweiGL#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Zhang authored May 9, 2022
1 parent 637a9ae commit 048a8d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-mkcert",
"version": "1.6.0",
"version": "1.6.1",
"description": "Provide certificates for vite's https dev service",
"repository": {
"type": "git",
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ const plugin = (options: ViteCertificateOptions = {}): Plugin => {
https: {
...certificate
}
},
preview: {
https: {
...certificate
}
}
}
}
Expand Down

0 comments on commit 048a8d1

Please sign in to comment.