From 331639dc74653a2a4493f6c09532252152fae344 Mon Sep 17 00:00:00 2001 From: Mehdi Mehtarizadeh Date: Mon, 9 Dec 2024 13:38:17 +0000 Subject: [PATCH] Added comments. --- platform/src/Utility.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/src/Utility.js b/platform/src/Utility.js index 6331c7f..98fe05c 100644 --- a/platform/src/Utility.js +++ b/platform/src/Utility.js @@ -227,6 +227,10 @@ export function getWindowLocationHref(){ return window.location.href; } +/** + * Gets the base url - window.location.origin + * @returns + */ export function getBaseURL(){ return window.location.origin; }