mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +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)
|
||||
{
|
||||
if (strpos($request->header('user-agent'), 'tunnelab/4.0.0') !== -1) {
|
||||
if (strpos($request->header('user-agent'), 'Win64') !== -1) {
|
||||
if (strpos($request->header('user-agent'), 'tunnelab/4.0.0') !== false) {
|
||||
if (strpos($request->header('user-agent'), 'Win64') !== false) {
|
||||
return response([
|
||||
'data' => [
|
||||
'version' => config('v2board.windows_version'),
|
||||
|
Loading…
Reference in New Issue
Block a user