fix a bugs

This commit is contained in:
Wisp X
2022-03-09 08:19:28 +08:00
parent 8f611098f7
commit 4795c74724
8 changed files with 13 additions and 20 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class StrategyRequest extends FormRequest
{
$checkUrl = function ($attribute, $value, $fail) {
if ($this->input('key') == StrategyKey::Local) {
$folders = ['i', 'fonts', 'css', 'js'];
$folders = ['fonts', 'css', 'js'];
$symlink = Strategy::getRootPath($value);
if (! $symlink) {
return $fail('访问域名缺少根路径');