api/widget: dont import the entirety of the CDN server

This commit is contained in:
Rory&
2026-06-12 16:57:41 +02:00
parent fb7199f27a
commit a437f0a64e
@@ -23,7 +23,7 @@ import path from "node:path";
import { Request, Response, Router } from "express";
import { HTTPError } from "lambert-server/HTTPError";
import { route } from "@spacebar/api";
import { storage } from "@spacebar/cdn";
import { storage } from "@spacebar/cdn/util/Storage";
import { Guild } from "@spacebar/database";
import { DiscordApiErrors } from "@spacebar/util";