librenms/librenms

View on GitHub
html/ajax_dash.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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',
]));