Skip to content

Commit

Permalink
support multiple pages
Browse files Browse the repository at this point in the history
  • Loading branch information
thejackshelton committed Jan 28, 2025
1 parent 1b86ab9 commit 2db2598
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/qwikdev-astro/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ export async function renderToStaticMarkup(
? {
manifest: {} as QwikManifest,
symbolMapper: (symbolName, mapper, parent) => {
const devUrl =
this.result.request.url.slice(0, -1) + parent + "_" + symbolName + ".js";
const requestUrl = new URL(this.result.request.url);
const origin = requestUrl.origin;
const devUrl = origin + parent + "_" + symbolName + ".js";
devUrls.add(devUrl);

// this determines if the container is the last one
Expand Down

0 comments on commit 2db2598

Please sign in to comment.