diff --git a/Program.cs b/Program.cs index 2d77c68..8f4d6bc 100644 --- a/Program.cs +++ b/Program.cs @@ -229,7 +229,7 @@ app.UseAuthorization(); // 헤더 미들웨어 부분 app.UseMiddleware - ((object)new string[] { "iOS_AM_Connect_Key", "And_AM_Connect_Key", "Web_AM_Connect_Key" }); + ((object)new string[] { "iOS_AM_Connect_Key", "And_AM_Connect_Key", "Web-AM-Connect-Key" }); diff --git a/Program/Common/Model/APISetting.cs b/Program/Common/Model/APISetting.cs index 8417e9a..6825c9d 100644 --- a/Program/Common/Model/APISetting.cs +++ b/Program/Common/Model/APISetting.cs @@ -24,5 +24,5 @@ namespace Back.Program.Common.Model h_key : h_value iOS_AM_Connect_Key And_AM_Connect_Key - Web_AM_Connect_Key + Web-AM-Connect-Key */ \ No newline at end of file diff --git a/Program/Services/V1/AppService.cs b/Program/Services/V1/AppService.cs index 538c8b6..a886105 100644 --- a/Program/Services/V1/AppService.cs +++ b/Program/Services/V1/AppService.cs @@ -91,7 +91,7 @@ public class AppService: IAppService { h_key = type == "I" ? "iOS_AM_Connect_Key" : (type == "A" ? "And_AM_Connect_Key" - : (type == "W" ? "Web_AM_Connect_Key": throw new Exception("ERROR"))), + : (type == "W" ? "Web-AM-Connect-Key": throw new Exception("ERROR"))), h_value = headerValue, connect_date = DateTime.Now, specific_id = specific