summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-26 01:10:05 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-26 01:10:05 +1100
commitb82c6d672b1d66a35f09122d4bda3e32df88de81 (patch)
treec11e500ad20c28fb6918797a513303f5922851bc
parentDon't try to cache files like /assets/;var u,p={26700:0};l.f (diff)
downloadserver-b82c6d672b1d66a35f09122d4bda3e32df88de81.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
-rw-r--r--src/util/config/types/CdnConfiguration.ts4
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;
 }