Skip to content

Commit

Permalink
Update thumbnail urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Aug 28, 2024
1 parent b9d20f6 commit 47860bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion console/src/components/MediaCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const getExtname = (type?: string) => {
const imageThumbnailUrl = computed(() => {
const { url } = props.media || {};
return `/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=${url}&width=w400`;
return `/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=${url}&size=s`;
});
</script>
<template>
Expand Down
2 changes: 1 addition & 1 deletion console/src/components/MomentPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const getExtname = (type?: string) => {
function getImageThumbnailUrl(media: MomentMedia) {
const { url } = media || {};
return `/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=${url}&width=w400`;
return `/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=${url}&size=s`;
}
</script>
<template>
Expand Down

0 comments on commit 47860bd

Please sign in to comment.