SwitchHosts Check for updates didn't work

ttcibm8c  于 2022-10-21  发布在  其他
关注(0)|答案(2)|浏览(163)

System (Mac, Windows 7/8/10, Linux) / 操作系统

MacBook Pro(M1 Pro), MacOS 12.3

SwitchHosts! Version / SwitchHosts! 版本

v4.1.2

Description / 描述

Check for updates didn't work. The error thrown is as follows,

How to reproduce / 重现步骤

5f0d552i

5f0d552i1#

I found that the api returns 200 after removing the sid and uid params.

SwitchHosts/src/main/actions/checkUpdate.ts

Lines 32 to 35 in faff5d7

| | r=awaitGET(${server_url}/api/check/,{ |
| | sid: global.session_id, |
| | uid: awaitgetUniqueId(), |
| | }) |

fdx2calv

fdx2calv2#

This 403 error is actually a server-side problem of swh.app. 😢 I will improve the server when I have time later.

相关问题