Skip to content

Commit

Permalink
host and port info removed from start script
Browse files Browse the repository at this point in the history
  • Loading branch information
itswadesh committed Jan 20, 2025
1 parent 36238e4 commit 0f1883d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion vite.config.js → vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 0f1883d

Please sign in to comment.