Use localhost:3001 as fallback when cdn endpoints are null rather than 3003
This commit is contained in:
@@ -50,7 +50,7 @@ router.post(
|
||||
const path = `attachments/${channel_id}/${id}/${filename}`;
|
||||
|
||||
const endpoint =
|
||||
Config.get()?.cdn.endpointPublic || "http://localhost:3003";
|
||||
Config.get()?.cdn.endpointPublic || "http://localhost:3001";
|
||||
|
||||
await storage.set(path, buffer);
|
||||
let width;
|
||||
|
||||
Reference in New Issue
Block a user