diff --git a/package.json b/package.json index 5be5ac79..b06f8034 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev": "node src/lib/services/copy && vite dev --host --port 3000", "build": "vite build", "start-node": "node build/index.js", - "start": "NODE_ENV=production && vite preview --host --port 3000", + "start": "NODE_ENV=production && vite preview", "update": "npm exec -- npx ncu -u -p npm i", "preview": "vite preview", "test": "playwright test --ui", diff --git a/vite.config.js b/vite.config.ts similarity index 96% rename from vite.config.js rename to vite.config.ts index 50c701a2..8d2dfbc1 100644 --- a/vite.config.js +++ b/vite.config.ts @@ -34,7 +34,6 @@ export default defineConfig(({ command, mode }) => { server: { host: true, port: 3000, - allowedHosts: ['*.litekart.in'], proxy: { '/api': HTTP_ENDPOINT, '/sitemap': 'https://s3.ap-south-1.amazonaws.com/litekart.in'