feat: add port env
dunkirk.sh 7 months ago a809025b 5ab60bca
··· 1 1 import { serve } from "bun"; 2 2 import { file } from "bun"; 3 3 4 4 - const PORT = 3000; 4 4 + const PORT = Number.parseInt(process.env.PORT || "3000"); 5 5 const ZIP_FILE_PATH = "./bigboy.gz"; // Path to your compressed file 6 6 7 7 serve({