From edd0dd65ea96b44f1d4c95d9e0ac6c9cc52d51e5 Mon Sep 17 00:00:00 2001 From: Bogdan Ivanov Date: Wed, 18 Sep 2024 22:07:44 +0300 Subject: [PATCH] fix: use https for localhost dev --- packages/shared.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/shared.ts b/packages/shared.ts index 242e378..133b0e4 100644 --- a/packages/shared.ts +++ b/packages/shared.ts @@ -9,7 +9,7 @@ let _lastTouched = new Date(); const _hosts: { [region: string]: string } = { US: 'https://us.aptabase.com', EU: 'https://eu.aptabase.com', - DEV: 'http://localhost:3000', + DEV: 'https://localhost:3000', SH: '', }; @@ -158,4 +158,4 @@ function getIsDebug(): boolean { defaultIsDebug = location.hostname === 'localhost'; return defaultIsDebug; -} \ No newline at end of file +}