UI
Some checks failed
Tech / explore-gitea-actions (push) Has been cancelled

This commit is contained in:
SpecialX
2025-08-31 11:29:26 +08:00
parent 017cc2169c
commit c59762a392
65 changed files with 3996 additions and 330 deletions

View File

@@ -128,7 +128,7 @@ builder.Services.AddCors(options =>
{
options.AddPolicy("AllowSpecificOrigin",
builder => builder
.WithOrigins("https://localhost:7047", "http://localhost:5190")
.WithOrigins("https://localhost:7047", "http://localhost:7047")
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials());
@@ -137,7 +137,7 @@ builder.Services.AddCors(options =>
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
if (/*app.Environment.IsDevelopment()*/true)
{
app.UseSwagger();
app.UseSwaggerUI();