LibreNMS/html/ajax_dash.php

11 lines
241 B
PHP

<?php
header('Content-type: application/json');
// reload dashboard referencing old endpoint
exit(json_encode([
'html' => '<script>window.location.reload(false);</script>',
'status' => 'ok',
'title' => 'Reload Dasbhoard',
]));