diff --git a/src/config.ts b/src/config.ts index 124a3a8..51b95e3 100644 --- a/src/config.ts +++ b/src/config.ts @@ -12,4 +12,6 @@ export const DEFAULT_PROJECT = "root" export const NOSE_ROOT_BIN = join(NOSE_DIR, DEFAULT_PROJECT, "bin") export const NOSE_STARTED = Date.now() -export const GIT_SHA = (await $`git rev-parse --short HEAD`.text()).trim() \ No newline at end of file + +export const GIT_SHA = (await $`git rev-parse --short HEAD`.text()).trim() + ; (globalThis as any).GIT_SHA = GIT_SHA \ No newline at end of file diff --git a/src/webapp.ts b/src/webapp.ts index 6f184c0..99edce9 100644 --- a/src/webapp.ts +++ b/src/webapp.ts @@ -3,7 +3,6 @@ import type { Child } from "hono/jsx" import { type Context, Hono } from "hono" -import { renderToString } from "hono/jsx/dom/server" import { join } from "path" import { readdirSync, watch } from "fs" import { sendAll } from "./websocket"