SwitchHosts icon indicating copy to clipboard operation
SwitchHosts copied to clipboard

Check for updates didn't work

Open nieyuyao opened this issue 3 years ago • 2 comments

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,

image

How to reproduce / 重现步骤

nieyuyao avatar Sep 07 '22 03:09 nieyuyao

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

https://github.com/oldj/SwitchHosts/blob/faff5d739a260422d5169145d2e5b2e65d2c9a50/src/main/actions/checkUpdate.ts#L32-L35

nieyuyao avatar Sep 13 '22 02:09 nieyuyao

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

oldj avatar Sep 13 '22 02:09 oldj