From ed2a3b034e431d2f39ff188f292861319c8d2b1a Mon Sep 17 00:00:00 2001 From: v2board Date: Sun, 18 Dec 2022 14:15:41 +0800 Subject: [PATCH] update: remove ga & fix route --- .../Controllers/Admin/Server/RouteController.php | 3 +++ public/theme/v2board/dashboard.blade.php | 13 ------------- resources/views/admin.blade.php | 13 ------------- 3 files changed, 3 insertions(+), 26 deletions(-) diff --git a/app/Http/Controllers/Admin/Server/RouteController.php b/app/Http/Controllers/Admin/Server/RouteController.php index 1cc954e6..c3052707 100644 --- a/app/Http/Controllers/Admin/Server/RouteController.php +++ b/app/Http/Controllers/Admin/Server/RouteController.php @@ -40,6 +40,9 @@ class RouteController extends Controller 'action.in' => '动作类型参数有误' ]); $params['match'] = array_filter($params['match']); + // TODO: remove on 1.8.0 + $params['match'] = json_encode($params['match']); + // TODO: remove on 1.8.0 if ($request->input('id')) { try { $route = ServerRoute::find($request->input('id')); diff --git a/public/theme/v2board/dashboard.blade.php b/public/theme/v2board/dashboard.blade.php index f1551b41..cd422ef9 100755 --- a/public/theme/v2board/dashboard.blade.php +++ b/public/theme/v2board/dashboard.blade.php @@ -59,19 +59,6 @@ - - - @if (file_exists(public_path("/theme/{$theme}/assets/custom.js"))) @endif diff --git a/resources/views/admin.blade.php b/resources/views/admin.blade.php index ba85a66a..7b9a5852 100644 --- a/resources/views/admin.blade.php +++ b/resources/views/admin.blade.php @@ -31,19 +31,6 @@ - - -