steal html util from campfire, remove external dependency on cf

This commit is contained in:
Siddharth Singh
2024-08-04 11:10:33 +05:30
parent 77d73c47ee
commit 6aa49c12e1
3 changed files with 59 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
import { Context, Env, MiddlewareHandler, Next } from '@hono/hono';
import { serveStatic as baseServeStatic, ServeStaticOptions } from '@hono/hono/serve-static';
import { html, r } from 'campfire.js';
import { html, r } from '@/utils/html.ts';
import { Conf } from '@/config.ts';
import {
getInstanceName,