From 10ec54f22c3d2616b8d0f8d5b4c3b9df30dbc931 Mon Sep 17 00:00:00 2001 From: Andrew Grumet Date: Sat, 6 Jan 2024 16:13:45 -0800 Subject: [PATCH] Added user-agent to debug output. --- main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.ts b/main.ts index 20e0258..f639e27 100644 --- a/main.ts +++ b/main.ts @@ -4,6 +4,7 @@ import websocket from "./websocket-routes.ts"; import rest from "./rest-routes.ts"; import restServer from "./rest-routes-server.ts"; import { UmbilicalEnv } from "./src/interfaces/umbilical-context.ts"; +import { umbilicalUserAgent } from "./src/config.ts"; const app = new Hono(); @@ -18,6 +19,7 @@ Deno.serve((r) => { }); if (env.DEBUG) { + console.log(`Umbilical User-Agent: ${umbilicalUserAgent}`); // Log the run duration for this process. const startTime = new Date(); setInterval(() => {