vercel
This commit is contained in:
parent
5262f9e78f
commit
8ca401ef29
|
|
@ -0,0 +1,12 @@
|
|||
const { spawn } = require('child_process');
|
||||
|
||||
// Start Next.js dev server with explicit hostname
|
||||
const next = spawn('next', ['dev', '-p', '3050', '-H', '0.0.0.0'], {
|
||||
stdio: 'inherit',
|
||||
shell: true,
|
||||
env: { ...process.env, HOSTNAME: '0.0.0.0' }
|
||||
});
|
||||
|
||||
next.on('close', (code) => {
|
||||
process.exit(code);
|
||||
});
|
||||
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Create custom QR codes in seconds",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3050",
|
||||
"dev": "node dev-server.js",
|
||||
"dev:local": "next dev -p 3050",
|
||||
"build": "prisma generate && next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
|
|
|
|||
Loading…
Reference in New Issue