Skip to content

Commit

Permalink
Set siteInternalHostName to YEXT_PAGES_SCOPE
Browse files Browse the repository at this point in the history
  • Loading branch information
asanehisa committed Oct 4, 2023
1 parent 9ae11b0 commit 3ecb2f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/pages/src/dev/server/ssr/getLocalData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ const getLocalData = async (
)
.toString()
);
data.siteInternalHostName = process.env.YEXT_PAGES_SCOPE;

if (criterion(data)) {
return data;
}
Expand Down

0 comments on commit 3ecb2f1

Please sign in to comment.