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
commit0daea86092411969caa2fe2b195ab995edc584c5 (patch)
tree3e4a8840bb7cdaab5e3b329bafc87423105dd87e /src/cdn/routes/external.ts
parentMore embed improvements (diff)
downloadserver-0daea86092411969caa2fe2b195ab995edc584c5.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;