Merge pull request #6 from MaheKarim/master

Version Variable Introduce
pull/13/head
Hasin Hayder 3 years ago committed by GitHub
commit efd13bf617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save