aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.ts
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-04-14 17:41:51 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-04-14 17:41:51 -0500
commite7469b5454acd59238dfeb5a7e023a591a23d852 (patch)
treefa30ffeaf57ee884445e5464ffd49fe03503d4c6 /src/Utils.ts
parentc17e8ebf0454ad2067ab6556355c5bb69b7cf41e (diff)
parentad863eaee3af92c3bfec6dc72bc5d9ee5eec31d4 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into script_documents
Diffstat (limited to 'src/Utils.ts')
-rw-r--r--src/Utils.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index e3ec10dcd..a8cde0624 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -63,11 +63,6 @@ export namespace Utils {
return prepend("/corsProxy/") + encodeURIComponent(url);
}
- export async function getApiKey(target: string): Promise<string> {
- const response = await fetch(prepend(`/environment/${target.toUpperCase()}`));
- return response.text();
- }
-
export function CopyText(text: string) {
const textArea = document.createElement("textarea");
textArea.value = text;