diff --git a/Moonlight.ApiServer/Http/Controllers/OAuth2/OAuth2Controller.cs b/Moonlight.ApiServer/Http/Controllers/OAuth2/OAuth2Controller.cs index 05c74a28..70ab3a51 100644 --- a/Moonlight.ApiServer/Http/Controllers/OAuth2/OAuth2Controller.cs +++ b/Moonlight.ApiServer/Http/Controllers/OAuth2/OAuth2Controller.cs @@ -66,8 +66,6 @@ public partial class OAuth2Controller : Controller parameters.Add("RedirectUri", redirectUri); parameters.Add("ResponseType", responseType); }); - - await Response.WriteAsync(html); } else { @@ -77,12 +75,10 @@ public partial class OAuth2Controller : Controller parameters.Add("RedirectUri", redirectUri); parameters.Add("ResponseType", responseType); }); - - await Response.WriteAsync(html); } await Results - .Text(html, "text/html") + .Text(html, "text/html", Encoding.UTF8) .ExecuteAsync(HttpContext); } @@ -158,7 +154,7 @@ public partial class OAuth2Controller : Controller } await Results - .Text(html, "text/html") + .Text(html, "text/html", Encoding.UTF8) .ExecuteAsync(HttpContext); } } diff --git a/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj b/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj index 627ac2ce..1c083df3 100644 --- a/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj +++ b/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj @@ -19,52 +19,4 @@ - - - true - styles - Never - - - true - styles - Never - - - true - styles - Never - - - true - styles - Never - - - true - styles - Never - - - true - styles - Never - - - true - styles - Never - - - - - - - - - <_ContentIncludedByDefault Remove="wwwroot\js\moonCore.js" /> - <_ContentIncludedByDefault Remove="wwwroot\js\moonlight.js" /> - <_ContentIncludedByDefault Remove="wwwroot\svg\logo.svg" /> - - diff --git a/Moonlight.Client/Moonlight.Client.csproj b/Moonlight.Client/Moonlight.Client.csproj index 2decf80b..a04300ce 100644 --- a/Moonlight.Client/Moonlight.Client.csproj +++ b/Moonlight.Client/Moonlight.Client.csproj @@ -46,7 +46,7 @@ - + \ No newline at end of file