Skip to content

Commit 776802e

Browse files
committed
Chore(cosmos): use port from cosmos config
1 parent 46cff78 commit 776802e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cosmos.bunserver.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async function serveFromDir(config: {
8888
return null;
8989
}
9090
export default {
91-
port: 5050,
91+
port: cosmosConfig.rendererUrl.split(":").pop(),
9292
hostname: "0.0.0.0",
9393
async fetch(req) {
9494
const reqPath = new URL(req.url).pathname;

0 commit comments

Comments
 (0)