Skip to content

Commit

Permalink
Merge pull request #217 from kodadot/fix-ssr-v2
Browse files Browse the repository at this point in the history
fix: ssr preview
  • Loading branch information
Jarsen136 authored Dec 4, 2023
2 parents d9aff01 + 23ffbe5 commit 4faf497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssr-opengraph/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 4faf497

Please sign in to comment.