Skip to content

Commit

Permalink
Added comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaei2000 committed Dec 9, 2024
1 parent ce91693 commit 331639d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platform/src/Utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 331639d

Please sign in to comment.