From 8b62d8e61ec3fbb5d3d5dfa245d588711755c7cd Mon Sep 17 00:00:00 2001 From: Hogen Date: Tue, 12 Dec 2023 11:30:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=B0.net=208?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- COMCMS.API/COMCMS.API.csproj | 8 ++++---- COMCMS.Common/COMCMS.Common.csproj | 6 +++--- COMCMS.Core/COMCMS.Core.csproj | 4 ++-- COMCMS.Web/COMCMS.Web.csproj | 28 ++++++++++++++-------------- COMCMS.Web/Startup.cs | 2 +- Lib.Core/Lib.Core.csproj | 2 +- XCoder/XCoder.csproj | 2 +- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/COMCMS.API/COMCMS.API.csproj b/COMCMS.API/COMCMS.API.csproj index eeed672..e6ce368 100644 --- a/COMCMS.API/COMCMS.API.csproj +++ b/COMCMS.API/COMCMS.API.csproj @@ -1,13 +1,13 @@  - net7.0 + net8.0 - - - + + + diff --git a/COMCMS.Common/COMCMS.Common.csproj b/COMCMS.Common/COMCMS.Common.csproj index 31518ae..9c9fddf 100644 --- a/COMCMS.Common/COMCMS.Common.csproj +++ b/COMCMS.Common/COMCMS.Common.csproj @@ -1,18 +1,18 @@  - net7.0 + net8.0 - + - + diff --git a/COMCMS.Core/COMCMS.Core.csproj b/COMCMS.Core/COMCMS.Core.csproj index bae17a2..1ff9b72 100644 --- a/COMCMS.Core/COMCMS.Core.csproj +++ b/COMCMS.Core/COMCMS.Core.csproj @@ -1,11 +1,11 @@  - net7.0 + net8.0 - + diff --git a/COMCMS.Web/COMCMS.Web.csproj b/COMCMS.Web/COMCMS.Web.csproj index ddd3155..ff89b11 100644 --- a/COMCMS.Web/COMCMS.Web.csproj +++ b/COMCMS.Web/COMCMS.Web.csproj @@ -1,27 +1,27 @@  - net7.0 + net8.0 Linux - - - - + + + + - - - - + + + + - - - + + + - - + + diff --git a/COMCMS.Web/Startup.cs b/COMCMS.Web/Startup.cs index 80ddd32..105c11c 100644 --- a/COMCMS.Web/Startup.cs +++ b/COMCMS.Web/Startup.cs @@ -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(); }); diff --git a/Lib.Core/Lib.Core.csproj b/Lib.Core/Lib.Core.csproj index f934fe9..73bb430 100644 --- a/Lib.Core/Lib.Core.csproj +++ b/Lib.Core/Lib.Core.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 diff --git a/XCoder/XCoder.csproj b/XCoder/XCoder.csproj index 36163ac..3c9d283 100644 --- a/XCoder/XCoder.csproj +++ b/XCoder/XCoder.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 enable enable