Switched to type: module.

This commit is contained in:
Mike Cao 2025-04-29 14:36:52 -07:00
parent 615a6d444f
commit 4e37e10b6d
20 changed files with 25 additions and 50 deletions

7
scripts/start-env.js Normal file
View file

@ -0,0 +1,7 @@
import 'dotenv/config';
import cli from 'next/dist/cli/next-start';
cli.nextStart({
port: process.env.PORT || 3000,
hostname: process.env.HOSTNAME || '0.0.0.0',
});