Merge pull request '[🐛] 12차 푸시 확인 - 경로 변경' (#18) from seonkyu.kim/AcaMate_API:main into debug
All checks were successful
Back/pipeline/head This commit looks good
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:
commit
a7982c3703
|
@ -34,21 +34,22 @@ public class PushController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
||||||
string p12Path = "";
|
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 apnsTopic = "me.myds.ipstein.acamate.AcaMate";
|
||||||
string uri = "";
|
string uri = "";
|
||||||
|
|
||||||
if (_env.IsDevelopment())
|
if (_env.IsDevelopment())
|
||||||
{
|
{
|
||||||
uri = "https://api.sandbox.push.apple.com/";
|
uri = "https://api.sandbox.push.apple.com/";
|
||||||
// p12Path = "/src/private/AM_Push_Sandbox.p12";
|
p12Path = "/src/private/AM_Push_Sandbox.p12";
|
||||||
p12Path = "private/AM_Push_Sandbox.p12";
|
// p12Path = "private/AM_Push_Sandbox.p12";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
uri = "https://api.push.apple.com/";
|
uri = "https://api.push.apple.com/";
|
||||||
// p12Path = "/src/private/AM_Push.p12";
|
p12Path = "/src/private/AM_Push.p12";
|
||||||
p12Path = "private/AM_Push.p12";
|
// p12Path = "private/AM_Push.p12";
|
||||||
}
|
}
|
||||||
|
|
||||||
// ApnsPushService 인스턴스 생성
|
// ApnsPushService 인스턴스 생성
|
||||||
|
|
Loading…
Reference in New Issue
Block a user