From 58883951d3aca1f2cb0dfd1ba059815fe7934069 Mon Sep 17 00:00:00 2001 From: stringsplit <77242831+nbitzz@users.noreply.github.com> Date: Tue, 26 Mar 2024 16:07:22 -0700 Subject: [PATCH] Oh shit wait --- src/server/routes/api/v0/primaryApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/routes/api/v0/primaryApi.ts b/src/server/routes/api/v0/primaryApi.ts index d389dbb..1e313a3 100644 --- a/src/server/routes/api/v0/primaryApi.ts +++ b/src/server/routes/api/v0/primaryApi.ts @@ -21,7 +21,7 @@ export let primaryApi = new Hono<{ primaryApi.all("*", getAccount) export default function (files: Files) { - primaryApi.get("/:fileId", async (ctx) => + primaryApi.get("/file/:fileId", async (ctx) => primaryApi.fetch( new Request( (new URL(