aboutsummaryrefslogtreecommitdiff
path: root/src/server/ApiManagers/AzureManager.ts
diff options
context:
space:
mode:
authorJames Hu <51237606+jameshu111@users.noreply.github.com>2023-07-11 11:26:44 -0400
committerJames Hu <51237606+jameshu111@users.noreply.github.com>2023-07-11 11:26:44 -0400
commit71a5c4a6ff126a256b4053d539b6099e5a429bbc (patch)
tree28f2a73b603b63cfa23f8dcb7ea9663ea03e79c3 /src/server/ApiManagers/AzureManager.ts
parent5a1c452941032c8a5c468e54674450f452d8bda9 (diff)
clean up
Diffstat (limited to 'src/server/ApiManagers/AzureManager.ts')
-rw-r--r--src/server/ApiManagers/AzureManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ApiManagers/AzureManager.ts b/src/server/ApiManagers/AzureManager.ts
index e105f5d80..7e319f123 100644
--- a/src/server/ApiManagers/AzureManager.ts
+++ b/src/server/ApiManagers/AzureManager.ts
@@ -3,7 +3,7 @@ import { ContainerClient, BlobServiceClient } from "@azure/storage-blob";
import * as fs from "fs";
import { Readable, Stream } from "stream";
// dotenv.config();
-const AZURE_STORAGE_CONNECTION_STRING = "DefaultEndpointsProtocol=https;AccountName=dashblobstore;AccountKey=3i+E5XkCz3TJ0m5QOatiEnbRACz9V1qCW72L6ldiYGH1tLdfJWa2eQoRfYmPA68lx1a6YAcfYJfWHadIxQvhGQ==;EndpointSuffix=core.windows.net";
+const AZURE_STORAGE_CONNECTION_STRING = process.env.AZURE_STORAGE_CONNECTION_STRING;
export class AzureManager {
private _containerClient: ContainerClient;