mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
pre-release changes
This commit is contained in:
@@ -26,7 +26,7 @@ class AttachDataToLogController extends Controller
|
||||
if (! is_null($loggedRequest)) {
|
||||
$loggedRequest->setAdditionalData((array)$request->get('data', []));
|
||||
|
||||
$this->requestLogger->pushLogs();
|
||||
$this->requestLogger->pushLoggedRequest($loggedRequest);
|
||||
|
||||
$httpConnection->send(str(new Response(200)));
|
||||
return;
|
||||
|
||||
@@ -23,4 +23,4 @@ class ClearLogsController extends Controller
|
||||
|
||||
$httpConnection->send(respond_json([], 200));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,7 @@ class DashboardController extends Controller
|
||||
{
|
||||
$httpConnection->send(respond_html($this->getView($httpConnection, 'client.dashboard', [
|
||||
'subdomains' => Client::$subdomains,
|
||||
'max_logs'=> config()->get('expose.max_logged_requests', 10),
|
||||
])));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user