rename page for ease
This commit is contained in:
parent
66567b9b68
commit
e3dad8bee4
@ -3,9 +3,9 @@ import client from "@/data/pocketbase";
|
|||||||
import SiteLayout from "@/layouts/base";
|
import SiteLayout from "@/layouts/base";
|
||||||
import ImageCarousel from "@/components/Detail/ImageCarousel";
|
import ImageCarousel from "@/components/Detail/ImageCarousel";
|
||||||
|
|
||||||
const { slug } = Astro.params;
|
const { recipeid } = Astro.params;
|
||||||
|
|
||||||
const re = await client.collection("recipes").getOne(slug ?? "0");
|
const re = await client.collection("recipes").getOne(recipeid ?? "0");
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user