Compare commits
2 Commits
8df11c3d8c
...
a7982c3703
Author | SHA1 | Date | |
---|---|---|---|
a7982c3703 | |||
846f5c91a3 |
|
@ -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 인스턴스 생성
|
||||
|
|
Loading…
Reference in New Issue
Block a user