Skip to content

Commit

Permalink
docs: pass-through full path for versioned docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Dec 13, 2023
1 parent 04e1acf commit 30682a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/docs/pages/v/[[...fullPath]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export default function Version({ path, version }) {

const src =
version === "canary"
? `https://puck-docs-git-main-measured.vercel.app`
: `https://puck-docs-git-releases-v${versionSlug}-measured.vercel.app`;
? `https://puck-docs-git-main-measured.vercel.app/${path}`
: `https://puck-docs-git-releases-v${versionSlug}-measured.vercel.app/${path}`;

return (
<iframe
Expand Down

0 comments on commit 30682a7

Please sign in to comment.