From 23ffbe5a9fa8b54c6929ba8cbcbd1ff7dc8b23c9 Mon Sep 17 00:00:00 2001 From: Jarsen <31397967+Jarsen136@users.noreply.github.com> Date: Mon, 4 Dec 2023 22:53:11 +0800 Subject: [PATCH] fix: ssr preview --- ssr-opengraph/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssr-opengraph/src/utils.ts b/ssr-opengraph/src/utils.ts index 8912f9c..11de685 100644 --- a/ssr-opengraph/src/utils.ts +++ b/ssr-opengraph/src/utils.ts @@ -105,7 +105,7 @@ export async function getProperties(nft: NFT) { export const ogiRequest = async (reqUrl: string, rawHeaders: Headers) => { const url = new URL(reqUrl); const { pathname, search } = url; - const opengraph = `https://workers-ogi.pages.dev/${pathname}${search}`; + const opengraph = `https://workers-ogi.pages.dev${pathname}${search}`; const headers = new Headers(rawHeaders); const request = new Request(opengraph, {