From ffa0c209b6d40558b5001e96dd8ae20ee444d76b Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Wed, 16 Apr 2025 16:40:47 +0200 Subject: [PATCH] fix(api): :alien: Use new Scalar API --- app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.ts b/app.ts index 0a508049..4d2f6f86 100644 --- a/app.ts +++ b/app.ts @@ -2,7 +2,7 @@ import { resolve } from "node:path"; import { getLogger } from "@logtape/logtape"; -import { apiReference } from "@scalar/hono-api-reference"; +import { Scalar } from "@scalar/hono-api-reference"; import chalk from "chalk"; import { Hono } from "hono"; import { serveStatic } from "hono/bun"; @@ -155,7 +155,7 @@ export const appFactory = async (): Promise> => { app.get( "/docs", - apiReference({ + Scalar({ theme: "deepSpace", hideClientButton: true, pageTitle: "Versia Server API",