Fixed oauth2 controller returning invalid data. Adjusted build seps for tailwind class map
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,52 +19,4 @@
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.5" PrivateAssets="all"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Styles\exports.css">
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>styles</PackagePath>
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Styles\package-lock.json">
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>styles</PackagePath>
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Styles\package.json">
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>styles</PackagePath>
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Styles\preTailwind.css">
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>styles</PackagePath>
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Styles\resolveNuget.js">
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>styles</PackagePath>
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Styles\style.css">
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>styles</PackagePath>
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Styles\mappings\mooncore.map">
|
||||
<Pack>true</Pack>
|
||||
<PackagePath>styles</PackagePath>
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="wwwroot\css\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<_ContentIncludedByDefault Remove="wwwroot\js\moonCore.js" />
|
||||
<_ContentIncludedByDefault Remove="wwwroot\js\moonlight.js" />
|
||||
<_ContentIncludedByDefault Remove="wwwroot\svg\logo.svg" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="Styles/*" Pack="true" PackagePath="Styles/Moonlight.Client/" />
|
||||
<None Include="Styles/mappings/*.map" Pack="true" PackagePath="Styles/" />
|
||||
<None Include="Moonlight.Client.targets" Pack="true" PackagePath="build/Moonlight.Client.targets" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user