refactor: ServerContext type import
This commit is contained in:
@@ -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>();
|
||||||
|
|||||||
Reference in New Issue
Block a user