Skip to content

Commit

Permalink
Use edge file proxy for FEaaS stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrauer committed Nov 16, 2023
1 parent 2d8bd9f commit 61a51d0
Show file tree
Hide file tree
Showing 3 changed files with 248 additions and 386 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ class FEeaSThemesPlugin implements Plugin {

async exec(props: SitecorePageProps) {
// Collect FEAAS themes
props.headLinks.push(...getFEAASLibraryStylesheetLinks(props.layoutData, config.sitecoreEdgeUrl));

props.headLinks.push(
...getFEAASLibraryStylesheetLinks(
props.layoutData,
config.sitecoreEdgeContextId,
config.sitecoreEdgeUrl
)
);
return props;
}
}
Expand Down
Loading

0 comments on commit 61a51d0

Please sign in to comment.