mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 21:33:08 +01:00
Added check for updates
Uses the version number in config/speedtest.php hosted on github
This commit is contained in:
@@ -10,6 +10,7 @@ class UpdateController extends Controller
|
||||
public function checkForUpdate()
|
||||
{
|
||||
return response()->json([
|
||||
'method' => 'check for updates',
|
||||
'update' => UpdateHelper::check(),
|
||||
], 200);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user