From 4b8e12919c8a0e783d51301b78fdde4c5c64c35d Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 1 Mar 2022 18:22:09 +0800 Subject: [PATCH] Update Config.php --- app/admin/controller/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/controller/Config.php b/app/admin/controller/Config.php index 02faeedab..e88e8158b 100644 --- a/app/admin/controller/Config.php +++ b/app/admin/controller/Config.php @@ -94,7 +94,7 @@ class Config extends Controller $info = LocalStorage::down($icon); } if (!empty($info) && !empty($info['file'])) { - $favicon = new FaviconExtend($info['file']); + $favicon = new FaviconExtend($info['file'], [256, 256]); $favicon->saveIco("{$this->app->getRootPath()}public/favicon.ico"); } } catch (\Exception $exception) {