Production release (for EOSC EXPLORE) December 2023 #24

Merged
konstantina.galouni merged 10 commits from develop into master 2023-12-12 11:43:47 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6daf729374 - Show all commits

View File

@ -284,7 +284,7 @@ export class StringUtils {
public static jsonRegex = /^[\],:{}\s]*$/;
public static urlPrefix(url: string): string {
if (url.startsWith("http://") || url.startsWith("https://") || url.startsWith("//")) {
if (!url || url.startsWith("http://") || url.startsWith("https://") || url.startsWith("//")) {
return "";
} else {
return "//";