Closed wpjscc closed 1 year ago
@wpjscc 使用配置项 domain
@wpjscc 使用配置项
domain
domain 配置后貌似有问题,比如使用阿里云的cdn加速服务。
配置domain 后
"Unable to check existence for: storage/app/uploads/protected/647/c01/376/xxxxx.png" on line 19 of /xxxx/vendor/league/flysystem/src/UnableToCheckExistence.php
这个方法报错
/**
* {@inheritdoc}
*/
public function fileExists(string $path): bool
{
try {
return $this->client->doesObjectExist($this->bucket, $this->prefixer->prefixPath($path), $this->options->getOptions());
} catch (OssException $exception) {
throw UnableToCheckExistence::forLocation($path, $exception);
}
}
捕捉抛出异常的上一个异常查看详细信息
尝试修改"is_cname"=>true
运行环境 / Runtime environment
这些参数哪一个是cdn的域名配置
期望配置cdn后,签名的url返回的是cdn的域名