mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-13 08:49:02 +00:00
![KoalaSat](/assets/img/avatar_default.png)
* Add SVG icons for map pins * Add federation basis and new coordinator form (#793) * Add new coordinator entry issue form * Add Federation basis * Fix eslint errors from F2F and fix languages * Redo eslint @typescript-eslint/strict-boolean-expressions * Robot Page working * Contexts Working * Garage Working * CurrentOrder working * Federation model working --------- Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com> Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
8 lines
201 B
TypeScript
8 lines
201 B
TypeScript
const getHost = function (): string {
|
|
const url =
|
|
window.location !== window.parent.location ? document.referrer : document.location.href;
|
|
return url.split('/')[2];
|
|
};
|
|
|
|
export default getHost;
|