diff options
-rw-r--r-- | src/routes.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/routes.php b/src/routes.php index f866789..cd04415 100644 --- a/src/routes.php +++ b/src/routes.php @@ -1,5 +1,7 @@ <?php -Route::api(['version' => 'v1', 'protected' => true, 'providers' => 'basic'], function () { - Route::resource('bot', 'CamilStaps\BotleaguesApi\BotController'); - Route::resource('user', 'CamilStaps\BotleaguesApi\UserController'); +Route::group(array('https'), function() { + Route::api(['version' => 'v1', 'protected' => true, 'providers' => 'basic'], function () { + Route::resource('bot', 'CamilStaps\BotleaguesApi\BotController'); + Route::resource('user', 'CamilStaps\BotleaguesApi\UserController'); + }); });
\ No newline at end of file |