Use localhost:3001 as fallback when cdn endpoints are null rather than 3003

This commit is contained in:
Madeline
2023-01-26 10:18:16 +11:00
parent 1dcaa9f5f9
commit 1886d53943
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ router.post(
const path = `role-icons/${role_id}/${hash}.png`;
const endpoint =
Config.get().cdn.endpointPublic || "http://localhost:3003";
Config.get().cdn.endpointPublic || "http://localhost:3001";
await storage.set(path, buffer);