diff options
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 | } |
