summary refs log tree commit diff
path: root/src/cdn/routes/external.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-02 15:28:03 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-02 15:28:03 +1100
commit5bbe2666d00d6707a6b18dc4a6ef8ffba5ce4566 (patch)
treea71a742855303adb34dfe9673a9c17efc8d57684 /src/cdn/routes/external.ts
parentMore embed improvements (diff)
downloadserver-5bbe2666d00d6707a6b18dc4a6ef8ffba5ce4566.tar.xz
Use imagor for image resizing
Diffstat (limited to '')
-rw-r--r--src/cdn/routes/external.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cdn/routes/external.ts b/src/cdn/routes/external.ts
index 33528a7b..32979a59 100644
--- a/src/cdn/routes/external.ts
+++ b/src/cdn/routes/external.ts
@@ -58,6 +58,8 @@ router.get("/:id", async (req: Request, res: Response) => {
 });
 
 // this method is gross lol don't care
+// It's also no longer actually used on Slowcord's official server.
+// We actually use imagor now
 router.get("/resize/:url", async (req: Request, res: Response) => {
 	const url = decodeURIComponent(req.params.url);
 	const { width, height } = req.query;