Skip to content

Commit

Permalink
chore: linter 🧽
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa authored and dmitry-stepanenko committed Dec 1, 2023
1 parent 9b0d76a commit 1b3267e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/qwik/src/optimizer/src/plugins/vite-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ const FS_PREFIX = `/@fs/`;
const VALID_ID_PREFIX = `/@id/`;
const VITE_PUBLIC_PATH = `/@vite/`;
const internalPrefixes = [FS_PREFIX, VALID_ID_PREFIX, VITE_PUBLIC_PATH];
const InternalPrefixRE = new RegExp(`^(${CYPRESS_DEV_SERVER_PATH})?(?:${internalPrefixes.join('|')})`);
const InternalPrefixRE = new RegExp(
`^(${CYPRESS_DEV_SERVER_PATH})?(?:${internalPrefixes.join('|')})`
);

const shouldSsrRender = (req: IncomingMessage, url: URL) => {
const pathname = url.pathname;
Expand Down

0 comments on commit 1b3267e

Please sign in to comment.