From fd2ef9e6cec67b6a50b91293d97831d3631d9f26 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Thu, 24 Jan 2019 10:24:17 -0100 Subject: cleaning and renaming upsteam request caching Signed-off-by: Maxence Lange --- appinfo/routes.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'appinfo') diff --git a/appinfo/routes.php b/appinfo/routes.php index dc309c09..7c056217 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -38,10 +38,10 @@ return [ 'routes' => [ ['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'], ['name' => 'Navigation#test', 'url' => '/test', 'verb' => 'GET'], - [ 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET', - 'requirements' => ['path' => '.+'], 'defaults' => ['path' => ''] + 'requirements' => ['path' => '.+'], + 'defaults' => ['path' => ''] ], ['name' => 'Navigation#documentGet', 'url' => '/document/get', 'verb' => 'GET'], ['name' => 'Navigation#documentGetPublic', 'url' => '/document/public', 'verb' => 'GET'], @@ -84,12 +84,8 @@ return [ ['name' => 'Local#documentsCache', 'url' => '/api/v1/documents/cache', 'verb' => 'POST'], - ['name' => 'Queue#asyncWithToken', 'url' => CurlService::ASYNC_TOKEN, 'verb' => 'POST'], - - [ - 'name' => 'Config#setCloudAddress', 'url' => '/api/v1/config/cloudAddress', - 'verb' => 'POST' - ], + ['name' => 'Queue#asyncForRequest', 'url' => CurlService::ASYNC_REQUEST_TOKEN, 'verb' => 'POST'], + ['name' => 'Config#setCloudAddress', 'url' => '/api/v1/config/cloudAddress', 'verb' => 'POST'] ] ]; -- cgit v1.2.3