diff options
| author | 2022-02-12 11:33:52 +0100 | |
|---|---|---|
| committer | 2022-02-12 11:33:52 +0100 | |
| commit | 871a85d9343cf49646d13dc455c062efadcb959a (patch) | |
| tree | 7d36b14b237719901d71d58c88f74b87b875ee61 /src/utils.ts | |
| parent | 7c48533571e9f9d3731a59433a56cc8d6e008123 (diff) | |
| download | client-871a85d9343cf49646d13dc455c062efadcb959a.tar.gz client-871a85d9343cf49646d13dc455c062efadcb959a.tar.bz2 client-871a85d9343cf49646d13dc455c062efadcb959a.zip | |
Beatified codev1.3.0
Diffstat (limited to 'src/utils.ts')
| -rw-r--r-- | src/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.ts b/src/utils.ts index dcf010a..2beebec 100644 --- a/src/utils.ts +++ b/src/utils.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | export function getHost() { | 1 | export function getHost() { |
| 2 | // @ts-ignore | 2 | // @ts-ignore |
| 3 | return import.meta.env.DEV ? 'localhost:4040' : window.location.host | 3 | return import.meta.env.DEV ? "localhost:4040" : window.location.host; |
| 4 | } | 4 | } |
