// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
//
// SPDX-License-Identifier: AGPL-3.0-or-later

if (window.App && window.App.httpClient) {
  window.App.httpClient.setDefaultUrl(#{currentRoute});
} else {
  throw new Error('HttpClient service is missing!');
}
