mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 02:42:37 +01:00
Set default cdn endpoints so that local testing works
This commit is contained in:
parent
0aead491dc
commit
92227cdf18
@ -247,7 +247,7 @@ router.post(
|
||||
Attachment.create({ ...file, proxy_url: file.url }),
|
||||
);
|
||||
} catch (error) {
|
||||
return res.status(400).json(error);
|
||||
return res.status(400).json({ message: error!.toString() })
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,4 +4,7 @@ export class CdnConfiguration extends EndpointConfiguration {
|
||||
resizeHeightMax: number = 1000;
|
||||
resizeWidthMax: number = 1000;
|
||||
imagorServerUrl: string | null = null;
|
||||
|
||||
endpointPublic: string | null = "http://localhost:3001";
|
||||
endpointPrivate: string | null = "http://localhost:3001";
|
||||
}
|
Loading…
Reference in New Issue
Block a user