From 59e5fc45db58a28bf941549f3ad0a11606d20c70 Mon Sep 17 00:00:00 2001 From: Djery-Tom Date: Mon, 1 Nov 2021 11:17:56 +0100 Subject: [PATCH] Add nano service endpoints to get and update user insurances subscriptions --- .htaccess | 5 +++++ routes/web.php | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 0235952..0dc948b 100755 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,8 @@ +php_value post_max_size 256M +php_value memory_limit 512M +php_value max_input_time 180 +php_value max_execution_time 180 + # For Apache server only RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.*) diff --git a/routes/web.php b/routes/web.php index 6c73d0a..89b648c 100755 --- a/routes/web.php +++ b/routes/web.php @@ -206,8 +206,10 @@ $router->get('/geocode', 'HelperController@getGoogleGeocoding'); $router->post('bonus-amount', 'NanoSanteServiceController@post'); $router->post('upload-images', 'NanoSanteServiceController@postWithFiles'); $router->post('', 'NanoSanteServiceController@post'); - $router->put('{id}/validate', 'NanoSanteServiceController@put'); - $router->put('{id}/reject', 'NanoSanteServiceController@put'); +// $router->put('{id}/validate', 'NanoSanteServiceController@put'); +// $router->put('{id}/reject', 'NanoSanteServiceController@put'); + $router->get('', 'NanoSanteServiceController@get'); + $router->put('{id}', 'NanoSanteServiceController@put'); }); });