summary refs log tree commit diff
path: root/src/cdn/routes/guild-profiles.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdn/routes/guild-profiles.ts')
-rw-r--r--src/cdn/routes/guild-profiles.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdn/routes/guild-profiles.ts b/src/cdn/routes/guild-profiles.ts

index a02d152c..ae8786ae 100644 --- a/src/cdn/routes/guild-profiles.ts +++ b/src/cdn/routes/guild-profiles.ts
@@ -59,7 +59,7 @@ router.post("/", multer.single("file"), async (req: Request, res: Response) => { if (ANIMATED_MIME_TYPES.includes(type.mime)) hash = `a_${hash}`; // animated icons have a_ infront of the hash const path = `guilds/${guild_id}/users/${user_id}/avatars/${hash}`; - const endpoint = Config.get().cdn.endpointPublic || "http://localhost:3003"; + const endpoint = Config.get().cdn.endpointPublic || "http://localhost:3001"; await storage.set(path, buffer);