Refactored startup. Removed unused usings. Improved nuget package building. Switched to yaml for configuration. Moved asset files. Set correct context type for oauth2 pages. Updated versions
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using System.IdentityModel.Tokens.Jwt;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using MoonCore.Attributes;
|
||||
using Moonlight.ApiServer.Configuration;
|
||||
|
||||
@@ -83,7 +83,7 @@ public class FrontendService
|
||||
public async Task<Stream> GenerateZip() // TODO: Rework to be able to extract everything successfully
|
||||
{
|
||||
// We only allow the access to this function when we are actually hosting the frontend
|
||||
if (!Configuration.Client.Enable)
|
||||
if (!Configuration.Frontend.EnableHosting)
|
||||
throw new HttpApiException("The hosting of the wasm client has been disabled", 400);
|
||||
|
||||
// Load and check wasm path
|
||||
|
||||
Reference in New Issue
Block a user