Skip to content

Commit 4faf497

Browse files
authored
Merge pull request #217 from kodadot/fix-ssr-v2
fix: ssr preview
2 parents d9aff01 + 23ffbe5 commit 4faf497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssr-opengraph/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export async function getProperties(nft: NFT) {
105105
export const ogiRequest = async (reqUrl: string, rawHeaders: Headers) => {
106106
const url = new URL(reqUrl);
107107
const { pathname, search } = url;
108-
const opengraph = `https://workers-ogi.pages.dev/${pathname}${search}`;
108+
const opengraph = `https://workers-ogi.pages.dev${pathname}${search}`;
109109

110110
const headers = new Headers(rawHeaders);
111111
const request = new Request(opengraph, {

0 commit comments

Comments
 (0)