diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-26 01:10:05 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-26 01:10:05 +1100 |
commit | 1dcaa9f5f90f6ee59dff74ade0135f2a6a037522 (patch) | |
tree | d28266c165796fced7ca43651055d70a787b79fd /src | |
parent | Don't try to cache files like /assets/;var u,p={26700:0};l.f (diff) | |
download | server-1dcaa9f5f90f6ee59dff74ade0135f2a6a037522.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/util/config/types/CdnConfiguration.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |