feat(server): bind dev server to 0.0.0.0:3000 and permit all network origins with CORS

This commit is contained in:
2026-11-05 11:33:56 +05:30
parent 378f76df54
commit d20f98cb36
2 changed files with 40 additions and 8 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev -p 3000",
"dev": "next dev -H 0.0.0.0 -p 3000",
"build": "next build",
"start": "next start -p 3000",
"test": "vitest run"