mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove buffering for legacy api
This commit is contained in:
@@ -15,10 +15,6 @@ class LegacyController extends Controller
|
|||||||
|
|
||||||
public function api($path = '')
|
public function api($path = '')
|
||||||
{
|
{
|
||||||
ob_start();
|
|
||||||
include base_path('html/legacy_api_v0.php');
|
include base_path('html/legacy_api_v0.php');
|
||||||
$html = ob_get_clean();
|
|
||||||
|
|
||||||
return response($html);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user