mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: app version
This commit is contained in:
parent
cada8ae9e8
commit
49c00c7a63
@ -53,8 +53,8 @@ class AppController extends Controller
|
|||||||
|
|
||||||
public function getVersion(Request $request)
|
public function getVersion(Request $request)
|
||||||
{
|
{
|
||||||
if (strpos($request->header('user-agent'), 'tunnelab/4.0.0') !== -1) {
|
if (strpos($request->header('user-agent'), 'tunnelab/4.0.0') !== false) {
|
||||||
if (strpos($request->header('user-agent'), 'Win64') !== -1) {
|
if (strpos($request->header('user-agent'), 'Win64') !== false) {
|
||||||
return response([
|
return response([
|
||||||
'data' => [
|
'data' => [
|
||||||
'version' => config('v2board.windows_version'),
|
'version' => config('v2board.windows_version'),
|
||||||
|
Loading…
Reference in New Issue
Block a user