update: app version

This commit is contained in:
Tokumeikoi 2020-11-22 16:25:56 +08:00
parent 49c00c7a63
commit d645e9b98a

View File

@ -53,7 +53,9 @@ class AppController extends Controller
public function getVersion(Request $request)
{
if (strpos($request->header('user-agent'), 'tunnelab/4.0.0') !== false) {
if (strpos($request->header('user-agent'), 'tidalab/4.0.0') !== false
|| strpos($request->header('user-agent'), 'tunnelab/4.0.0') !== false
) {
if (strpos($request->header('user-agent'), 'Win64') !== false) {
return response([
'data' => [