Update vite.config.js

This commit is contained in:
fISHIE 2023-04-21 02:00:29 +05:00 committed by GitHub
parent d580b230c3
commit 7bebd6a5cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,10 @@ export default defineConfig({
include: ['src/**/*.{test,spec}.{js,ts}'] include: ['src/**/*.{test,spec}.{js,ts}']
}, },
server: { server: {
port: 5173,
https: true, https: true,
hmr: { hmr: {
host: "honestyui.sar.sh", host: "honestyui.sar.sh",
port: 5173, port: 443,
protocol: "wss", protocol: "wss",
} }
}, },