diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-13 11:16:03 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-13 11:16:03 -0400 |
commit | ed02920bd50e284e188376b142f494df4e330ac5 (patch) | |
tree | a18681a123dc50956c461023957224ce797b53e6 /src/Utils.ts | |
parent | b235c94614141752c98d24a395682a02297d9e6a (diff) | |
parent | bf622aa5b5cd9d3256ee8e4f26245b9858cccfba (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/Utils.ts')
-rw-r--r-- | src/Utils.ts | 5 |
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; |