更新到.net 8

This commit is contained in:
2023-12-12 11:30:53 +08:00
parent ef0d81d917
commit 8b62d8e61e
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();
});