Add allowedHosts to Vite config

This commit is contained in:
oguz ozturk 2026-01-10 13:34:25 +03:00
parent f8d94507a7
commit 4f48f4fa1c
1 changed files with 6 additions and 0 deletions

View File

@ -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'