Major changes - Ready app for initial testings
This commit is contained in:
@@ -1,6 +1,25 @@
|
||||
<?php
|
||||
|
||||
require $_SERVER['DOCUMENT_ROOT'] . '/vendor/autoload.php';
|
||||
|
||||
$App = new \Slim\App();
|
||||
$App = new \Slim\App([
|
||||
"settings" =>
|
||||
[
|
||||
"displayErrorDetails" => true
|
||||
]
|
||||
]);
|
||||
|
||||
|
||||
$App->post("/api/paddle/{authkey}/hook");
|
||||
|
||||
$App->post
|
||||
(
|
||||
"/api/paddle/{authkey}/detectIntent",
|
||||
Hookmanager::class, ':detectPayloadIntent'
|
||||
);
|
||||
|
||||
$App->post
|
||||
(
|
||||
"/api/paddle/{authkey}/hook",
|
||||
Hookmanager::class, ':EventSubscriptionCreatead'
|
||||
|
||||
);
|
Reference in New Issue
Block a user