Fix on REST bootstrap for new endpoint: /<workspace>/oauth2/token and others like that
- problem with rest classes cache was found
just because, now we have two url patterns
1. /api/1.0/<workspace>/xxxxxxxx
2. /<workspace>/oauth2/xxxxxxxx
restler was generating two different cache class maps, for both patterns,
so the first one request was overwriting to other.
** IT IS FIXED NOW
This commit is contained in:
@@ -56,6 +56,10 @@ try {
|
||||
$app->run(Maveriks\WebApplication::SERVICE_API);
|
||||
break;
|
||||
|
||||
case Maveriks\WebApplication::RUNNING_OAUTH2:
|
||||
$app->run(Maveriks\WebApplication::SERVICE_OAUTH2);
|
||||
break;
|
||||
|
||||
case Maveriks\WebApplication::RUNNING_INDEX:
|
||||
$response = new Maveriks\Http\Response(file_get_contents("index.html"), 302);
|
||||
$response->send();
|
||||
|
||||
Reference in New Issue
Block a user