This commit is contained in:
parent
50d5a9c70f
commit
5545b3f330
1 changed files with 5 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
||||||
import { Hono } from "https://deno.land/x/hono@v4.2.5/mod.ts";
|
import { Hono } from "https://deno.land/x/hono@v4.2.5/mod.ts";
|
||||||
import { serveStatic } from "https://deno.land/x/hono@v4.2.5/middleware.ts";
|
import {
|
||||||
|
serveStatic,
|
||||||
|
logger,
|
||||||
|
} from "https://deno.land/x/hono@v4.2.5/middleware.ts";
|
||||||
|
|
||||||
const cache = await Deno.openKv();
|
const cache = await Deno.openKv();
|
||||||
const app = new Hono();
|
const app = new Hono();
|
||||||
|
app.use(logger());
|
||||||
|
|
||||||
// .well-known for matrix
|
// .well-known for matrix
|
||||||
app.get("/.well-known/matrix/client", (c) =>
|
app.get("/.well-known/matrix/client", (c) =>
|
||||||
|
|
Loading…
Reference in a new issue