revert back to old check
This commit is contained in:
@@ -44,8 +44,7 @@ export class BunnyService {
|
|||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public usingBunnyCDN(meta: MiMeta) {
|
public usingBunnyCDN(meta: MiMeta) {
|
||||||
const client = this.getBunnyInfo(meta);
|
return meta.objectStorageEndpoint && meta.objectStorageEndpoint.endsWith('bunnycdn.com');
|
||||||
return new URL(client.fullUrl).hostname.endsWith('bunnycdn.com');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
|
|||||||
Reference in New Issue
Block a user