Handle short URLs 1

This commit is contained in:
Natsumi
2021-11-20 00:16:50 +13:00
parent 69d71aeb8a
commit f2541f9232
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ namespace VRCX
if ((int)response.StatusCode == 301 || (int)response.StatusCode == 302)
{
url = response.Headers["Location"];
if (url.Substring(0, 1) == "/")
if (url.Substring(0, 1) == "/" || url.Substring(0, 31) == "https://vrchat.com/home/launch?")
return url;
}
else