diff --git a/cms/docker-compose.yml b/cms/docker-compose.yml index 28322fa..5cf8850 100644 --- a/cms/docker-compose.yml +++ b/cms/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3' - services: db: image: postgres:14.4 @@ -9,4 +7,4 @@ services: ports: - 5432:5432 networks: - - default \ No newline at end of file + - default diff --git a/web/app/[locale]/checkout/[orderUid]/page.tsx b/web/app/[locale]/checkout/[orderUid]/page.tsx index dda4f7c..ac74045 100644 --- a/web/app/[locale]/checkout/[orderUid]/page.tsx +++ b/web/app/[locale]/checkout/[orderUid]/page.tsx @@ -23,6 +23,7 @@ const getOrderInformation = async (orderUid: string) => { const order = await fetchAPI(`/orders/findByUid/${orderUid}`, { cache: "no-store", }); + console.log("Managed to get here") return order; } catch (error) { console.error(error); @@ -44,7 +45,8 @@ const Checkout = async ({ params: { locale, orderUid } }: Props) => { return null; } const hostname = headers().get("host"); - const url = hostname ? `https://${hostname}` : "http://localhost:3000"; + console.log("Got here to tell the tale", hostname) + const url = "http://localhost:3000" // hostname ? `https://${hostname}` : "http://localhost:3000"; const paymentResponse = await createPayment(order.id, url); console.log(paymentResponse); if (!paymentResponse) { diff --git a/web/app/[locale]/page.tsx b/web/app/[locale]/page.tsx index dc40a36..cce190d 100644 --- a/web/app/[locale]/page.tsx +++ b/web/app/[locale]/page.tsx @@ -39,7 +39,7 @@ const Home = async ({ params: { locale } }: Props) => { const bodyText = response?.attributes.bodyText || ""; const showSignups = response?.attributes.showSignups || false; return ( -
+
{ -
{children}
+
{children}