This commit is contained in:
王炜翔 2024-08-17 16:00:05 +08:00
parent 7b24cc3548
commit 14fa6d9bce

View File

@ -21,7 +21,7 @@ using System.Text;
Console.WriteLine("\n _____ _________ ________ \n / _ \\ / _____// _____/ \n / /_\\ \\ \\_____ \\/ \\ ___ \n/ | \\/ \\ \\_\\ \\\n\\____|__ /_______ /\\______ /\n \\/ \\/ \\/ \n__________ __ ___________ .___\n\\______ \\_____ ____ | | __\\_ _____/ ____ __| _/\n | | _/\\__ \\ _/ ___\\| |/ / | __)_ / \\ / __ | \n | | \\ / __ \\\\ \\___| < | \\ | \\/ /_/ | \n |______ /(____ /\\___ >__|_ \\/_______ /___| /\\____ | \n \\/ \\/ \\/ \\/ \\/ \\/ \\/ ");
var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults();
//builder.AddServiceDefaults();
// Add services to the container.
@ -137,7 +137,7 @@ services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
var app = builder.Build();
app.MapDefaultEndpoints();
//app.MapDefaultEndpoints();
app.UseCors();
// Configure the HTTP request pipeline.