Version Variable Introduce

pull/6/head
Mahe Karim 3 years ago
parent 5fcdf54039
commit b77c4988d7

@ -1,6 +1,7 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_VERSION=1.0.0
APP_DEBUG=true
APP_URL=http://localhost

@ -14,7 +14,7 @@ class HydraController extends Controller
public function version(){
return response([
"version"=>"1.0.0"
"version"=> env('APP_VERSION')
]);
}
}

Loading…
Cancel
Save