forked from AcaMate/AcaMate_API
[🐛] 12차 푸시 확인 - 경로 변경
Signed-off-by: seonkyu.kim <sean.kk@daum.net>
This commit is contained in:
parent
6f9880b9d3
commit
846f5c91a3
|
@ -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