Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Feb 29, 2024
1 parent ba83505 commit 0f56a82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/waku/src/lib/handlers/handler-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ export function createHandler<
}
// HACK re-export "?v=..." URL to avoid dual module hazard.
const viteUrl = req.url.toString().slice(req.url.origin.length);
const fname = viteUrl.startsWith(config.basePath + '@fs/')
? decodeFilePathFromAbsolute(
viteUrl.slice(config.basePath.length + '@fs'.length),
)
: joinPath(vite.config.root, viteUrl);
// const fname = viteUrl.startsWith(config.basePath + '@fs/')
// ? decodeFilePathFromAbsolute(
// viteUrl.slice(config.basePath.length + '@fs'.length),
// )
// : joinPath(vite.config.root, viteUrl);
// for (const item of vite.moduleGraph.idToModuleMap.values()) {
// if (
// item.file === fname &&
Expand Down

0 comments on commit 0f56a82

Please sign in to comment.