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 }),
|
Attachment.create({ ...file, proxy_url: file.url }),
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} 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;
|
resizeHeightMax: number = 1000;
|
||||||
resizeWidthMax: number = 1000;
|
resizeWidthMax: number = 1000;
|
||||||
imagorServerUrl: string | null = null;
|
imagorServerUrl: string | null = null;
|
||||||
|
|
||||||
|
endpointPublic: string | null = "http://localhost:3001";
|
||||||
|
endpointPrivate: string | null = "http://localhost:3001";
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user