Adds one entry point for both JSON and MP APIs
Removes endpoints folder and moves versions to the root JSON API folder
This commit is contained in:
@ -172,8 +172,7 @@ class Initializer {
|
||||
}
|
||||
|
||||
function setupJSONAPI() {
|
||||
$api = new API\JSON\API();
|
||||
$api->init();
|
||||
API\API::JSON()->init();
|
||||
}
|
||||
|
||||
function setupRouter() {
|
||||
|
Reference in New Issue
Block a user