From 35257b227a38a01a87b68403ba51c591a5bd766d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 7 Sep 2023 15:15:12 +0000 Subject: [PATCH] Advent22 api_url overloads --- ui/src/plugins/advent22.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/plugins/advent22.ts b/ui/src/plugins/advent22.ts index 3d30743..64a6894 100644 --- a/ui/src/plugins/advent22.ts +++ b/ui/src/plugins/advent22.ts @@ -24,6 +24,8 @@ export class Advent22 { return `//${window.location.hostname}:8000/api`; } + public api_url(): string; + public api_url(endpoint: string): string; public api_url(endpoint?: string): string { if (endpoint === undefined) { return this.api_baseurl;