Skip to content

Commit

Permalink
Update thumbnail url
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Aug 26, 2024
1 parent cd9c468 commit 58d7874
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 @@ -42,7 +42,7 @@ const getExtname = (type: string) => {
const imageThumbnailUrl = computed(() => {
const { url } = props.media || {};
return `/apis/storage.halo.run/thumbnails/-/via-uri?uri=${url}&width=w400`;
return `/apis/api.storage.halo.run/thumbnails/-/via-uri?uri=${url}&width=w400`;
});
</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/storage.halo.run/thumbnails/-/via-uri?uri=${url}&width=w400`;
return `/apis/api.storage.halo.run/thumbnails/-/via-uri?uri=${url}&width=w400`;
}
</script>
<template>
Expand Down

0 comments on commit 58d7874

Please sign in to comment.