Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: revert "fix: Fix sandbox URL in getSandboxUrl function" #698

Merged
merged 1 commit into from
Mar 13, 2024
Merged

fix: revert "fix: Fix sandbox URL in getSandboxUrl function" #698

merged 1 commit into from
Mar 13, 2024

Conversation

Mobyrr
Copy link
Contributor

@Mobyrr Mobyrr commented Mar 11, 2024

Reverts #652

Description

Fix stories in iframes not showing when the base have a slash at the end.

Additional context

The base url should have a slash at the start and at the end (every guides for configuring the base url have them, for example : https://vitejs.dev/config/shared-options.html#base)

If the base doesn't have the slash at the end, the build produce a bad result, it doesn't find js and css files because a slash is missing in the urls

Copy link

stackblitz bot commented Mar 11, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

codesandbox bot commented Mar 11, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

netlify bot commented Mar 11, 2024

Deploy Preview for histoire-site ready!

Name Link
🔨 Latest commit fd70703
🔍 Latest deploy log https://app.netlify.com/sites/histoire-site/deploys/65eecea5dbf62f0008cbebea
😎 Deploy Preview https://deploy-preview-698--histoire-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Mar 11, 2024

Deploy Preview for histoire-controls ready!

Name Link
🔨 Latest commit fd70703
🔍 Latest deploy log https://app.netlify.com/sites/histoire-controls/deploys/65eecea5840a4d00086a8e48
😎 Deploy Preview https://deploy-preview-698--histoire-controls.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Mar 11, 2024

Deploy Preview for histoire-examples-svelte3 ready!

Name Link
🔨 Latest commit fd70703
🔍 Latest deploy log https://app.netlify.com/sites/histoire-examples-svelte3/deploys/65eecea5cee527000878e6aa
😎 Deploy Preview https://deploy-preview-698--histoire-examples-svelte3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Mar 11, 2024

Deploy Preview for histoire-examples-vue3 ready!

Name Link
🔨 Latest commit fd70703
🔍 Latest deploy log https://app.netlify.com/sites/histoire-examples-vue3/deploys/65eecea5df36fa00089a9f04
😎 Deploy Preview https://deploy-preview-698--histoire-examples-vue3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Mobyrr Mobyrr changed the title Revert "fix: Fix sandbox URL in getSandboxUrl function" fix: revert "fix: Fix sandbox URL in getSandboxUrl function" Mar 11, 2024
@Akryum
Copy link
Member

Akryum commented Mar 13, 2024

After looking around (for example in vitepress), Vite's base should be concatenated as-is like it was before the referenced PR.

@Akryum Akryum merged commit 88dfa2c into histoire-dev:main Mar 13, 2024
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants