Skip to content

Commit

Permalink
fix: make query check more strict
Browse files Browse the repository at this point in the history
  • Loading branch information
rturnq committed Nov 7, 2023
1 parent a4a8010 commit b3586c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const virtualFiles = new Map<
string,
VirtualFile | DeferredPromise<VirtualFile>
>();
const queryReg = /\?marko-.+$/;
const queryReg = /\?marko-[^?]+$/;
const browserEntryQuery = "?marko-browser-entry";
const serverEntryQuery = "?marko-server-entry";
const virtualFileQuery = "?marko-virtual";
Expand Down

0 comments on commit b3586c8

Please sign in to comment.