fix: use https for localhost dev
This commit is contained in:
parent
f782884579
commit
edd0dd65ea
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ let _lastTouched = new Date();
|
||||||
const _hosts: { [region: string]: string } = {
|
const _hosts: { [region: string]: string } = {
|
||||||
US: 'https://us.aptabase.com',
|
US: 'https://us.aptabase.com',
|
||||||
EU: 'https://eu.aptabase.com',
|
EU: 'https://eu.aptabase.com',
|
||||||
DEV: 'http://localhost:3000',
|
DEV: 'https://localhost:3000',
|
||||||
SH: '',
|
SH: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -158,4 +158,4 @@ function getIsDebug(): boolean {
|
||||||
defaultIsDebug = location.hostname === 'localhost';
|
defaultIsDebug = location.hostname === 'localhost';
|
||||||
|
|
||||||
return defaultIsDebug;
|
return defaultIsDebug;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue