diff --git a/app/Http/Controllers/VersionController.php b/app/Http/Controllers/VersionController.php index bc90c6c..ed32f17 100644 --- a/app/Http/Controllers/VersionController.php +++ b/app/Http/Controllers/VersionController.php @@ -61,7 +61,7 @@ class VersionController extends Controller : ['action'=>'upgrade','version'=>sprintf('v%s-%s-%s',$matches[1],$matches[3],$current->short_id)]; } else - $response = ['action'=>'unknown','version'=>'vn.n.n-dev-hhhhhhhh']; + $response = ['action'=>'unable','version'=>'vn.n.n-dev-hhhhhhhh']; break; @@ -98,7 +98,7 @@ class VersionController extends Controller $response = ['action'=>'unknown','version'=>$repository]; } else - $response = ['action'=>'unknown','version'=>'vn.n.n-rel-hhhhhhhh']; + $response = ['action'=>'unable','version'=>'vn.n.n-rel-hhhhhhhh']; break; } @@ -110,7 +110,7 @@ class VersionController extends Controller } // Return the current version - return ['action'=>'unknown','version'=>'vn.n.n-xxxx-hhhhhhhh']; + return ['action'=>'invalid','version'=>'vn.n.n-xxxx-hhhhhhhh']; } public function getUserIpAddr(): string