mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-06 20:16:57 +00:00
merge: reverts the check in usingBunnyCdn
back and some lint fixes caused by other commits (!989)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/989 Approved-by: Hazelnoot <acomputerdog@gmail.com> Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
commit
29f6777a07
2 changed files with 2 additions and 3 deletions
|
@ -44,8 +44,7 @@ export class BunnyService {
|
|||
|
||||
@bindThis
|
||||
public usingBunnyCDN(meta: MiMeta) {
|
||||
const client = this.getBunnyInfo(meta);
|
||||
return new URL(client.fullUrl).hostname.endsWith('bunnycdn.com');
|
||||
return meta.objectStorageEndpoint && meta.objectStorageEndpoint.endsWith('bunnycdn.com');
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
|
|
@ -50,7 +50,7 @@ const onInput = () => {
|
|||
const removeColor = () => {
|
||||
v.value = null;
|
||||
onInput();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" module>
|
||||
|
|
Loading…
Add table
Reference in a new issue