更新到.net 8
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user