mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
revert back to old check
This commit is contained in:
parent
b66a486036
commit
0195810b6a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue