Permalink
Browse files

Auth ip routes

  • Loading branch information...
jaimehgb committed May 8, 2018
1 parent ec889b3 commit 2c85223f790c767561d2a7b0847d8849858c77ca
Showing with 8 additions and 0 deletions.
  1. +8 −0 routes/web.php
@@ -19,6 +19,14 @@
});
});
Route::domain('ipauth.nanowallet.io')->group(function() {
Route::get('/{token}', ['as' => 'token', 'uses' => 'AuthorizedIpsController@auth']);
Route::post('/{token}', ['as' => 'token', 'uses' => 'AuthorizedIpsController@authApprove']);
});
Route::get('/authorizeIp/{token}', ['as' => 'token', 'uses' => 'AuthorizedIpsController@auth']);
Route::post('/authorizeIp/{token}', ['as' => 'token', 'uses' => 'AuthorizedIpsController@authApprove']);
Route::get('/', function () {
return view('index');
});

0 comments on commit 2c85223

Please sign in to comment.