fix: use https for localhost dev

This commit is contained in:
Bogdan Ivanov 2024-09-18 22:07:44 +03:00
parent f782884579
commit edd0dd65ea

View file

@ -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;
}
}