Skip to content

Commit

Permalink
chore(docs): fix broken cloudflare build
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Aug 21, 2023
1 parent 2d22ec7 commit 5429dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/components/on-this-page/on-this-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const QWIKCITY_ADVANCED_GROUP = [
const makeEditPageUrl = (url: string): string => {
const segments = url.split('/').filter((part) => part !== '');
if (segments[0] !== 'docs') {
throw new Error("Expecting URL to start with '/docs/'");
return url;
}
let group = '';
if (segments[1] == 'advanced') {
Expand Down

0 comments on commit 5429dec

Please sign in to comment.