All files / infrastructure/translations/server/src index.ts

0% Statements 0/2
100% Branches 0/0
0% Functions 0/1
0% Lines 0/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9                 
import { serve } from "@hono/node-server";
import { app } from "./app.ts";
import { PORT } from "./configs/constants.ts";
 
serve({ fetch: app.fetch, port: PORT }, (info) => {
    // eslint-disable-next-line no-console -- the dev server announces where it listens
    console.log(`🌐 Translations being served at http://localhost:${info.port}`);
});