mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Better middleware for routes, cleaned up API, removed old API calls
New API routes for Server allow specifying which fractal objects to load into the request, thus making it possible to fine-tune what data is returned.
This commit is contained in:
@@ -103,4 +103,18 @@ return [
|
||||
'lang' => [
|
||||
'in_context' => env('PHRASE_IN_CONTEXT', false),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| JSON Response Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You should not edit this block. These routes are ajax based routes that
|
||||
| expect content to be returned in JSON format.
|
||||
*/
|
||||
'json_routes' => [
|
||||
'api/*',
|
||||
'daemon/*',
|
||||
'remote/*',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user