From 237bfd75594ad001ac1d161dcd4846d57ab53eb0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 8 Apr 2023 04:36:26 +0200 Subject: [PATCH] fix billing process --- tests/app/load.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/app/load.js b/tests/app/load.js index ff1c712..69a0573 100755 --- a/tests/app/load.js +++ b/tests/app/load.js @@ -42,7 +42,9 @@ export class Application { this.request.setRootPath( HttpUri.parseUrl( - document.getElementsByTagName('base')[0].href + typeof document.getElementsByTagName('base')[0] !== 'undefined' + ? document.getElementsByTagName('base')[0].href + : '' ).path );