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

Generated URL doesn't match filename #141

Closed
6 tasks done
RobWalker opened this issue Jun 19, 2022 · 0 comments
Closed
6 tasks done

Generated URL doesn't match filename #141

RobWalker opened this issue Jun 19, 2022 · 0 comments
Labels
to triage This issue needs to be triaged

Comments

@RobWalker
Copy link
Contributor

Describe the bug

When deploying a histoire build to s3 the code references a URL like:

https://style.auctria-dev.xyz/__sandbox?storyId=src-stories-acsimpledatatable-story-vue&variantId=src-stories-acsimpledatatable-story-vue-8

However, the generated (and deployed) file is __sandbox.html.

S3 returns a 404 for this and our bucket is configured to return the root document in this case.

Reproduction

Click on any of the variants at:
https://style.auctria-dev.xyz/story/src-stories-acsimpledatatable-story-vue

This works in the dev server, but not when deployed to s3 as a static host

System Info

System:
OS: Linux 5.15 Manjaro Linux
CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900KF
Memory: 39.40 GB / 62.62 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh

Binaries:
Node: 18.3.0 - /usr/bin/node
npm: 8.8.0 - /usr/bin/npm

Browsers:
Chromium: 102.0.5005.115
Firefox: 101.0.1

Used Package Manager

npm

Validations

@RobWalker RobWalker added the to triage This issue needs to be triaged label Jun 19, 2022
RobWalker added a commit to RobWalker/histoire that referenced this issue Jun 19, 2022
@Akryum Akryum closed this as completed in 3e4466e Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant