Set environement variables

This commit is contained in:
Hydroxycarbamide 2024-01-03 12:09:12 +01:00
parent 17eff4e739
commit 5405630490

View file

@ -41,8 +41,8 @@ const fetch = (req: Request) => {
}
Bun.serve({
port: 80,
hostname: "localhost",
port: Bun.env.PORT || 80,
hostname: Bun.env.HOSTNAME || "localhost",
fetch
});