Update server listen hostname
This commit is contained in:
@@ -13,6 +13,7 @@ const port = SiteData["ServerPort"];
|
||||
await bunext.bunextInit();
|
||||
|
||||
const server = Bun.serve({
|
||||
hostname: development ? undefined : "0.0.0.0",
|
||||
async fetch(req, server) {
|
||||
try {
|
||||
const url = new URL(req.url);
|
||||
|
||||
Reference in New Issue
Block a user