mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-23 07:09:41 +02:00
bug/bug-fixes (#424)
* fix image write/caching * Caddyfile Caching header * more aggressive caching Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
parent
eb3d56936e
commit
503fe5cb2e
11 changed files with 44 additions and 34 deletions
|
@ -7,7 +7,7 @@
|
|||
@click="$emit('click')"
|
||||
min-height="275"
|
||||
>
|
||||
<CardImage icon-size="200" :slug="slug">
|
||||
<CardImage icon-size="200" :slug="slug" :image-version="image">
|
||||
<v-expand-transition v-if="description">
|
||||
<div v-if="hover" class="d-flex transition-fast-in-fast-out secondary v-card--reveal " style="height: 100%;">
|
||||
<v-card-text class="v-card--text-show white--text">
|
||||
|
@ -65,8 +65,8 @@ export default {
|
|||
};
|
||||
},
|
||||
methods: {
|
||||
getImage(image) {
|
||||
return api.recipes.recipeSmallImage(image);
|
||||
getImage(slug) {
|
||||
return api.recipes.recipeSmallImage(slug, this.image);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue