mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36: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
|
@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
|
||||||
|
|
|
@ -50,7 +50,7 @@ const onInput = () => {
|
||||||
const removeColor = () => {
|
const removeColor = () => {
|
||||||
v.value = null;
|
v.value = null;
|
||||||
onInput();
|
onInput();
|
||||||
}
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" module>
|
<style lang="scss" module>
|
||||||
|
|
Loading…
Add table
Reference in a new issue