about summary refs log tree commit diff stats
path: root/src/index.ts
blob: 83ad03debb81fdff26579fca770dee251bf06ac5 (plain)
1
2
3
4
5
6
7
import { server, metricsServer } from "./app";

const metricsServed = Bun.serve(metricsServer);
console.info(`Metrics server started on port ${metricsServed.port}`);

const served = Bun.serve(server);
console.info(`Serving website on http://${served.hostname}:${served.port}/`);