diff --git a/app/middleware/ViewOutput.php b/app/middleware/ViewOutput.php index c26676f..3f4bdd6 100644 --- a/app/middleware/ViewOutput.php +++ b/app/middleware/ViewOutput.php @@ -18,7 +18,7 @@ class ViewOutput { View::assign('islogin', $request->islogin); View::assign('user', $request->user); - View::assign('cdn_cdnjs', config_get('cdn_cdnjs', '//lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/')); + View::assign('cdn_cdnjs', config_get('cdn_cdnjs', 'https://s4.zstatic.net/ajax/libs/')); View::assign('cdn_npm', config_get('cdn_npm', 'https://unpkg.com/')); View::config(['view_path' => template_path_get()]); return $next($request)->header([ diff --git a/install.sql b/install.sql index d83dafc..5dab5cc 100644 --- a/install.sql +++ b/install.sql @@ -48,7 +48,7 @@ INSERT INTO `toolbox_config` (`key`, `value`) VALUES ('captcha_id', ''), ('captcha_key', ''), ('ip_type', '0'), -('cdn_cdnjs', '//lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/'), +('cdn_cdnjs', 'https://s4.zstatic.net/ajax/libs/'), ('cdn_npm', 'https://unpkg.com/'), ('description', '这是一个非常Nice的在线工具箱'), ('foot_code', ''), diff --git a/public/404.html b/public/404.html index ec95751..2d08e4f 100644 --- a/public/404.html +++ b/public/404.html @@ -6,7 +6,7 @@ - + @@ -123,7 +123,7 @@ - + - + + + - + @@ -54,7 +54,7 @@ - + + + @@ -63,7 +63,7 @@ - + + - + diff --git a/public/admin/page/link.html b/public/admin/page/link.html index f1fec66..6ce262a 100644 --- a/public/admin/page/link.html +++ b/public/admin/page/link.html @@ -6,7 +6,7 @@ - + @@ -55,7 +55,7 @@ - + + +