From 092dc7fc49246580023a8b97101d51845c81bf04 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 31 Mar 2023 11:17:55 +0700 Subject: iframe content --- src/lib/content/components/PageContent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/content') diff --git a/src/lib/content/components/PageContent.jsx b/src/lib/content/components/PageContent.jsx index f7c2f467..bb44dd92 100644 --- a/src/lib/content/components/PageContent.jsx +++ b/src/lib/content/components/PageContent.jsx @@ -10,7 +10,7 @@ const PageContent = ({ path }) => { let parsedContent = content.data.content parsedContent = parsedContent.replaceAll( 'src="/web/image', - `src="${process.env.NEXT_PUBLIC_ODOO_HOST}/web/image` + `src="${process.env.NEXT_PUBLIC_ODOO_API_HOST}/web/image` ) const contentClassNames = ` prose -- cgit v1.2.3