Merge pull request '[🐛] 12차 푸시 확인 - 경로 변경' (#18) from seonkyu.kim/AcaMate_API:main into debug
All checks were successful
Back/pipeline/head This commit looks good

Reviewed-on: https://git.ipstein.myds.me/AcaMate/AcaMate_API/pulls/18
This commit is contained in:
김선규 2024-11-30 08:42:09 +00:00
commit a7982c3703

View File

@ -34,21 +34,22 @@ public class PushController : ControllerBase
{
string p12Path = "";
string p12PWPath = "private/appleKeys.json";
string p12PWPath = "/src/private/appleKeys.json";
// string p12PWPath = "private/appleKeys.json";
string apnsTopic = "me.myds.ipstein.acamate.AcaMate";
string uri = "";
if (_env.IsDevelopment())
{
uri = "https://api.sandbox.push.apple.com/";
// p12Path = "/src/private/AM_Push_Sandbox.p12";
p12Path = "private/AM_Push_Sandbox.p12";
p12Path = "/src/private/AM_Push_Sandbox.p12";
// p12Path = "private/AM_Push_Sandbox.p12";
}
else
{
uri = "https://api.push.apple.com/";
// p12Path = "/src/private/AM_Push.p12";
p12Path = "private/AM_Push.p12";
p12Path = "/src/private/AM_Push.p12";
// p12Path = "private/AM_Push.p12";
}
// ApnsPushService 인스턴스 생성