diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2020-04-13 00:03:13 -0700 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-04-13 00:03:13 -0700 |
| commit | e3a5dc3ce59b1d8f2dde63395505061b304d64c0 (patch) | |
| tree | 4c67467a701a305d8af41e559b63275aa9b3e77c /src/Utils.ts | |
| parent | cfe2272c7f9a63edd449b460b31f0c45a77a07ca (diff) | |
completed migration to webpack-transferred environment variables, rather than a server route
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; |
