remove default env values. correct package json with env vars .

This commit is contained in:
Первов Артем
2026-06-19 09:41:16 +03:00
parent 10dbdb2120
commit cbe33500cf
7 changed files with 8 additions and 13 deletions

View File

@@ -3,7 +3,7 @@ import { createServer } from 'node:http'
import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
const httpPort = Number(process.env.HTTP_PORT ?? 80)
const httpPort = Number(process.env.HTTP_PORT)
const publicDir = join(dirname(fileURLToPath(import.meta.url)), '../../public')
const indexPath = join(publicDir, 'index.html')