mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #161 - Reload loop after migration from beestat.io/dashboard to app.beestat.io
Another fix for users who don't land on the homepage.
This commit is contained in:
parent
48baf93f25
commit
69200bbf0c
@ -178,7 +178,8 @@ beestat.api.prototype.load_ = function(response_text) {
|
||||
response.data.error_code === 10003 // Could not refresh ecobee token; ecobee returned no token.
|
||||
)
|
||||
) {
|
||||
window.location.href = '/';
|
||||
// window.location.href = '/';
|
||||
window.location.href = 'https://beestat.io';
|
||||
return;
|
||||
} else if (response.data && response.data.error_code === 1209) {
|
||||
// Could not get lock; safe to ignore as that means sync is running.
|
||||
|
Loading…
x
Reference in New Issue
Block a user