From cb8b4b5f0c97afef6246802f142735b7c06e74dd Mon Sep 17 00:00:00 2001 From: Lillith Fox Date: Fri, 10 Jan 2025 14:37:00 -0500 Subject: [PATCH] revert all that because somehow it fixes it???? --- VRCAuthProxy/Program.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/VRCAuthProxy/Program.cs b/VRCAuthProxy/Program.cs index bc0f627..7ce3858 100644 --- a/VRCAuthProxy/Program.cs +++ b/VRCAuthProxy/Program.cs @@ -186,7 +186,11 @@ app.Use(async (context, next) => var account = apiAccounts.First(); var path = context.Request.Path.ToString().Replace("/api/1", "") + context.Request.QueryString; - var message = new HttpRequestMessage(new HttpMethod(context.Request.Method), path); + var message = new HttpRequestMessage + { + RequestUri = new Uri("https://api.vrchat.cloud/api/1" + path), + Method = new HttpMethod(context.Request.Method) + }; // Handle request body for methods that support content (POST, PUT, DELETE) if (context.Request.ContentLength > 0 || context.Request.Headers.ContainsKey("Transfer-Encoding"))