Compare commits
No commits in common. "a7982c370365e09526612db77c51e18e46385709" and "8df11c3d8ca115dbc389fe5cb67f76d674e1d474" have entirely different histories.
a7982c3703
...
8df11c3d8c
|
@ -34,22 +34,21 @@ public class PushController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
||||||
string p12Path = "";
|
string p12Path = "";
|
||||||
string p12PWPath = "/src/private/appleKeys.json";
|
string p12PWPath = "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