mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
прокси будет теперь работать когда нет данных от апи
This commit is contained in:
parent
d6b9523cb2
commit
515e833eef
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ async function saveRate() {
|
|||
}
|
||||
);
|
||||
|
||||
if (!config['proxy']['host']) {
|
||||
if (!config['proxy']['host'] && !res['data']) {
|
||||
res.config.proxy = {
|
||||
protocol: config['proxy']['protocol'],
|
||||
host: config['proxy']['host'],
|
||||
|
|
Loading…
Add table
Reference in a new issue