change comment

This commit is contained in:
crazywhalecc 2022-08-13 17:04:06 +08:00 committed by Jerry Ma
parent b2c95d96b1
commit 346be22ea9

View File

@ -114,8 +114,8 @@ class HttpUtil
->withBody(HttpFactory::getInstance()->createStream(file_get_contents($path . '/' . $vp)));
}
}
// 如果文件存在,则直接返回文件内容
} elseif (is_file($path)) {
// 如果文件存在,则直接返回文件内容
logger()->info('[200] ' . $uri);
$exp = strtolower(pathinfo($path)['extension'] ?? 'unknown');
return HttpFactory::getInstance()->createResponse()