mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
feat: consolidate deployment targets and publish to ghcr.io (#2539)
* WIP: proof of concept * basic meta tag injection * add support for scraping public/private links * make tests go brrrrr * cleanup initialization * rewrite build config * remove recipe meta on frontend * make type checker happy * remove other deployment methods * fix issue with JSON response on un-authenticated request * docs updates * update tivy scanner * fix linter stuff * change registry tag * build fixes * fix same mistake I always make
This commit is contained in:
parent
aec4cb4f31
commit
2ad6af2cce
34 changed files with 268 additions and 793 deletions
|
@ -10,7 +10,6 @@
|
|||
import { defineComponent, ref, useAsync, useMeta, useRoute, useRouter } from "@nuxtjs/composition-api";
|
||||
import RecipePage from "~/components/Domain/Recipe/RecipePage/RecipePage.vue";
|
||||
import { usePublicApi } from "~/composables/api/api-client";
|
||||
import { useRecipeMeta } from "~/composables/recipes";
|
||||
|
||||
export default defineComponent({
|
||||
components: { RecipePage },
|
||||
|
@ -21,8 +20,7 @@ export default defineComponent({
|
|||
const recipeId = route.value.params.id;
|
||||
const api = usePublicApi();
|
||||
|
||||
const { meta, title } = useMeta();
|
||||
const { recipeMeta } = useRecipeMeta();
|
||||
const { title } = useMeta();
|
||||
|
||||
const recipe = useAsync(async () => {
|
||||
const { data, error } = await api.shared.getShared(recipeId);
|
||||
|
@ -34,8 +32,6 @@ export default defineComponent({
|
|||
|
||||
if (data) {
|
||||
title.value = data?.name || "";
|
||||
const metaObj = recipeMeta(ref(data));
|
||||
meta.value = metaObj.meta;
|
||||
}
|
||||
|
||||
return data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue