feat: support dev https

This commit is contained in:
vben
2022-01-18 22:05:51 +08:00
parent b63f7d17de
commit 4e4ce944bc
5 changed files with 1288 additions and 1308 deletions

View File

@@ -53,6 +53,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
],
},
server: {
https: true,
// Listening on all local IPs
host: true,
port: VITE_PORT,