Cleanup and Backup Exists AiApi and Create a New .net 10 App and Configureit for using xDashboard ...
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using xCommons.Authorization;
|
||||
using xCommons.Extensions;
|
||||
using xIdentityHelper;
|
||||
|
||||
namespace xAiApi.Extensions
|
||||
{
|
||||
public static class XStartupExtensions
|
||||
public static class XProgramExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Register Authorization Policies
|
||||
@@ -75,7 +72,9 @@ namespace xAiApi.Extensions
|
||||
};
|
||||
|
||||
//
|
||||
#pragma warning disable ASPDEPR005 // Type or member is obsolete
|
||||
forwardOptions.KnownNetworks.Clear();
|
||||
#pragma warning restore ASPDEPR005 // Type or member is obsolete
|
||||
forwardOptions.KnownProxies.Clear();
|
||||
|
||||
//
|
||||
Reference in New Issue
Block a user