From 1dcaa9f5f90f6ee59dff74ade0135f2a6a037522 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Thu, 26 Jan 2023 01:10:05 +1100 Subject: Don't set default cdn endpoints. Null endpoints means to not update them in GLOBAL_ENV. TODO: Don't use private endpoint locations in global env if public is not set, as this limits infra config --- src/util/config/types/CdnConfiguration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/config') diff --git a/src/util/config/types/CdnConfiguration.ts b/src/util/config/types/CdnConfiguration.ts index 6f523893..e547b9af 100644 --- a/src/util/config/types/CdnConfiguration.ts +++ b/src/util/config/types/CdnConfiguration.ts @@ -23,6 +23,6 @@ export class CdnConfiguration extends EndpointConfiguration { resizeWidthMax: number = 1000; imagorServerUrl: string | null = null; - endpointPublic: string | null = "http://localhost:3001"; - endpointPrivate: string | null = "http://localhost:3001"; + endpointPublic: string | null = null; + endpointPrivate: string | null = null; } -- cgit 1.4.1