Added check for updates

Uses the version number in config/speedtest.php hosted on github
This commit is contained in:
Henry Whitaker
2020-04-10 01:35:21 +01:00
parent dac08458d4
commit 16f9db371e
2 changed files with 43 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ class UpdateController extends Controller
public function checkForUpdate()
{
return response()->json([
'method' => 'check for updates',
'update' => UpdateHelper::check(),
], 200);
}