refactor: ServerContext type import

This commit is contained in:
Ritesh Ghosh
2025-05-25 22:51:12 +05:30
parent a3cd5a34aa
commit 5118a2543d
+1 -1
View File
@@ -1,7 +1,7 @@
import { Hono } from "hono"; import { Hono } from "hono";
import { HiAnime } from "aniwatch"; import { HiAnime } from "aniwatch";
import { cache } from "../config/cache.js"; import { cache } from "../config/cache.js";
import type { ServerContext } from "../config/variables.js"; import type { ServerContext } from "../config/context.js";
const hianime = new HiAnime.Scraper(); const hianime = new HiAnime.Scraper();
const hianimeRouter = new Hono<ServerContext>(); const hianimeRouter = new Hono<ServerContext>();