Skip to content

Commit

Permalink
Revert "fix: Fix sandbox URL in getSandboxUrl function (#652)"
Browse files Browse the repository at this point in the history
This reverts commit 44adb5c.
  • Loading branch information
Akryum committed Mar 13, 2024
1 parent 72a584b commit bffa487
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/histoire-app/src/app/util/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ export function getSandboxUrl (story: Story, variant: Variant) {
const url = new URLSearchParams()
url.append('storyId', story.id)
url.append('variantId', variant.id)
const baseUrl = base === '/' ? base : base + '/'
return `${baseUrl}__sandbox.html?${url.toString()}`
return `${base}__sandbox.html?${url.toString()}`
}

0 comments on commit bffa487

Please sign in to comment.