Set environement variables
This commit is contained in:
parent
17eff4e739
commit
5405630490
1 changed files with 2 additions and 2 deletions
4
index.ts
4
index.ts
|
@ -41,8 +41,8 @@ const fetch = (req: Request) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
Bun.serve({
|
Bun.serve({
|
||||||
port: 80,
|
port: Bun.env.PORT || 80,
|
||||||
hostname: "localhost",
|
hostname: Bun.env.HOSTNAME || "localhost",
|
||||||
fetch
|
fetch
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue