aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.ts
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2020-01-27 13:19:50 -0500
committerSam Wilkins <samwilkins333@gmail.com>2020-01-27 13:19:50 -0500
commitbb768ca2a9274d07ef4618e527452dcdd6cd430d (patch)
tree36d0d90cae4d7ce19df21a41587493bcdf933d4e /src/Utils.ts
parentc5d618538d4fd9669476dc7eb66ddd45783e5fa6 (diff)
fallback behavior for non-downloaded images and restored ink recognition
Diffstat (limited to 'src/Utils.ts')
-rw-r--r--src/Utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index 7bf05a6fc..4deac9035 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -48,7 +48,7 @@ export namespace Utils {
}
export async function getApiKey(target: string): Promise<string> {
- const response = await fetch(prepend(`environment/${target.toUpperCase()}`));
+ const response = await fetch(prepend(`/environment/${target.toUpperCase()}`));
return response.text();
}