更新到.net 8

This commit is contained in:
2023-12-12 11:30:53 +08:00
parent cb6bf496eb
commit d6ea0b35d8
7 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ namespace COMCMS.Web
{
app.Use(async (context, next) =>
{
context.Response.Headers.Add("X-Frame-Options", "SAMEORIGIN");
context.Response.Headers.Append("X-Frame-Options", "SAMEORIGIN");
await next();
});