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({
|
||||
port: 80,
|
||||
hostname: "localhost",
|
||||
port: Bun.env.PORT || 80,
|
||||
hostname: Bun.env.HOSTNAME || "localhost",
|
||||
fetch
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue