Add initial basic API changes
New route is `/api/me`
This commit is contained in:
parent
126df09152
commit
745c735b32
17 changed files with 587 additions and 40 deletions
|
@ -28,6 +28,7 @@ use Illuminate\Routing\Router;
|
|||
class ServerRoutes {
|
||||
|
||||
public function map(Router $router) {
|
||||
|
||||
$router->group([
|
||||
'prefix' => 'server/{server}',
|
||||
'middleware' => [
|
||||
|
@ -36,6 +37,7 @@ class ServerRoutes {
|
|||
'csrf'
|
||||
]
|
||||
], function ($server) use ($router) {
|
||||
|
||||
// Index View for Server
|
||||
$router->get('/', [
|
||||
'as' => 'server.index',
|
||||
|
|
Reference in a new issue