Fix vite dev env incompatible with ssl protocol
This commit is contained in:
parent
182f766fc0
commit
62cf593b2b
|
@ -29,8 +29,8 @@ export default defineConfig({
|
|||
server: {
|
||||
port: process.env.VUE_PORT || '8080',
|
||||
hmr: {
|
||||
port: '8000',
|
||||
protocol: 'ws',
|
||||
port: process.env.FUNKWHALE_PROTOCOL === 'https' ? 443 : 8000,
|
||||
protocol: process.env.FUNKWHALE_PROTOCOL === 'https' ? 'wss' : 'ws',
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
|
|
Loading…
Reference in New Issue