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

Preliminary fix to add basepath to URL #90

Merged
merged 3 commits into from
Jan 13, 2025
Merged

Preliminary fix to add basepath to URL #90

merged 3 commits into from
Jan 13, 2025

Conversation

Peter9192
Copy link
Member

I think this should work, but we can only know for sure once we make another release. @Chiil I don't want to do that right now as you might be in the middle of a demo.

Also would be good to have @sverhoeven check this once back from holiday.

Copy link
Collaborator

@sverhoeven sverhoeven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BASE_PATH=/class-web pnpm run build
mkdir class-web
cp -r ./apps/class-solid/.output/public/* class-web
python3 -m http.server

Goto http://localhost:888/class-web/ and created share link is

http://0.0.0.0:8000/class-web/_build#%7B%22experiments%22:%5B%7B%22name%22:%22My%20experiment%201%22,%22description%22:%22%22,%22reference%22:%7B%7D,%22permutations%22:%7B%7D%7D%5D%7D

The /_build should not be there. I think this is added by solid-start/vinxi
It works when I strip it away.

apps/class-solid/src/components/ShareButton.tsx Outdated Show resolved Hide resolved
Co-authored-by: Stefan Verhoeven <s.verhoeven@esciencecenter.nl>
@Peter9192 Peter9192 marked this pull request as ready for review January 13, 2025 08:16
@Peter9192
Copy link
Member Author

Thanks for the review @sverhoeven!

@Peter9192 Peter9192 merged commit a938a87 into main Jan 13, 2025
4 checks passed
@Peter9192 Peter9192 deleted the bugfix-89 branch January 13, 2025 08:23
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