Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mvromer committed Feb 13, 2024
1 parent cc9229b commit 9c593ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const { bootstrap, mount, unmount } = singleSpaBlazor({
// reverse proxy hosted on the same domain. This would help ensure that all
// requests from the browser for micro-frontend assets appear to be same-origin,
// thus circumventing potential CORS issues.
assetBaseUrl: 'https://mysite.com/apps/my-blazor-app/',
assetBaseUrl: new URL('https://mysite.com/apps/my-blazor-app/'),

// Client-side base URL the configure on the Blazor WASM application's navigation
// manager. This will be the base URL the navigation manager uses for internal
Expand All @@ -100,7 +100,7 @@ export const { bootstrap, mount, unmount } = singleSpaBlazor({
// configured to activate your Blazor WASM application when the client-side URL
// starts with https://mysite.com/blazor-app/, then that same URL is set on the
// navigationBaseUrl property.
navigationBaseUrl: 'https://mysite.com/blazor-app/',
navigationBaseUrl: new URL('https://mysite.com/blazor-app/'),

// Optional paths to additional stylesheets to include when the Blazor WASM
// micro-frontend is mounted by single-spa. These paths are relative to the asset
Expand Down

0 comments on commit 9c593ac

Please sign in to comment.