Add allowedHosts to Vite config
This commit is contained in:
parent
f8d94507a7
commit
4f48f4fa1c
|
|
@ -7,6 +7,12 @@ export default defineConfig({
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
port: 3001,
|
port: 3001,
|
||||||
cors: true,
|
cors: true,
|
||||||
|
allowedHosts: [
|
||||||
|
'argeict.net',
|
||||||
|
'www.argeict.net',
|
||||||
|
'176.96.129.77',
|
||||||
|
'localhost'
|
||||||
|
],
|
||||||
hmr: {
|
hmr: {
|
||||||
clientPort: 443,
|
clientPort: 443,
|
||||||
protocol: 'wss'
|
protocol: 'wss'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue