diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-26 14:30:34 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-26 14:30:34 +1100 |
commit | e98cdfbce0a2cda9b18a98b4ccfbf83d4c77ed56 (patch) | |
tree | 2b1efab39f62cf61200ff59d88bf45079cda50e1 /src/util | |
parent | Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts ac... (diff) | |
parent | also don't use 3002 as default when gateway endpoints are null (diff) | |
download | server-e98cdfbce0a2cda9b18a98b4ccfbf83d4c77ed56.tar.xz |
Merge branch 'master' of github.com:fosscord/fosscord-server
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/util/cdn.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/util/cdn.ts b/src/util/util/cdn.ts index 7f447c53..69d50159 100644 --- a/src/util/util/cdn.ts +++ b/src/util/util/cdn.ts @@ -36,7 +36,7 @@ export async function uploadFile( }); const response = await fetch( - `${Config.get().cdn.endpointPrivate || "http://localhost:3003"}${path}`, + `${Config.get().cdn.endpointPrivate || "http://localhost:3001"}${path}`, { headers: { signature: Config.get().security.requestSignature, @@ -75,7 +75,7 @@ export async function handleFile( export async function deleteFile(path: string) { const response = await fetch( - `${Config.get().cdn.endpointPrivate || "http://localhost:3003"}${path}`, + `${Config.get().cdn.endpointPrivate || "http://localhost:3001"}${path}`, { headers: { signature: Config.get().security.requestSignature, |