From e2cb7a8946c7991243752dcd5b78bc50d3b5ec92 Mon Sep 17 00:00:00 2001 From: Nic Eigel Date: Sun, 14 Jan 2024 18:32:37 +0100 Subject: correcting aml config back --- packages/aml-backoffice-ui/src/context/config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages/aml-backoffice-ui') diff --git a/packages/aml-backoffice-ui/src/context/config.ts b/packages/aml-backoffice-ui/src/context/config.ts index baf3445c4..3f62258c6 100644 --- a/packages/aml-backoffice-ui/src/context/config.ts +++ b/packages/aml-backoffice-ui/src/context/config.ts @@ -60,8 +60,7 @@ export const ExchangeApiProvider = ({ }): VNode => { const [checked, setChecked] = useState() const { i18n } = useTranslationContext(); - //const url = new URL(baseUrl) - const url = new URL("http://localhost:8081"); + const url = new URL(baseUrl) const api = new TalerExchangeHttpClient(url.href, new BrowserHttpLib()) useEffect(() => { api.getConfig() -- cgit v1.2.3