支持https协议

This commit is contained in:
MoYi 2023-12-03 17:45:04 +08:00
parent 9aaad2dbf8
commit cb42109f75

View File

@ -11,10 +11,10 @@ export default defineConfig({
server: {
host: "0.0.0.0",
port: 5173,
/* https: {
https: {
key: readFileSync("keys/agent2-key.pem"),
cert: readFileSync("keys/agent2-cert.pem"),
}*/
}
},
plugins: [
AutoImport({