Skip to content

Serve the IDE at https://glpython-edu.github.io/ - #13

Merged
cedricvogel-leo merged 1 commit into
mainfrom
chore/serve-at-root
Oct 25, 2026
Merged

cedricvogel-leo merged 1 commit into
mainfrom
chore/serve-at-root

Conversation

@cedricvogel-leo

Copy link
Copy Markdown
Collaborator

The repo is renamed to glpython-edu/glpython-edu.github.io, so GitHub Pages serves it at the organization's root, https://glpython-edu.github.io/, instead of /glpython/.

  • vite.config.ts: no more base: '/glpython/', so Vite's default / applies in production too. Share links come from BASE_URL (src/projectShare.ts), so they become https://glpython-edu.github.io/?project=… without a change.
  • The deploy workflow has nothing path-specific. It uploads dist/ as before.
  • README «Deployment»: the root address, and npm run preview now matches production.

Merge right after the rename. A build with base / served from /glpython/, or the old build served from the root, loads no assets.

The embed at https://glpython-edu.github.io/glpython-editor/ is a separate project site and stays where it is. The IDE's coi-serviceworker.js now registers for scope /, which includes /glpython-editor/. The checks after the deploy cover the embed, both directly and in LiaScript, after visiting the IDE.

🤖 Generated with Claude Code

The repo becomes glpython-edu/glpython-edu.github.io, which GitHub Pages
serves at https://glpython-edu.github.io/. Vite's default base / now
applies in production too; share links follow through BASE_URL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cedricvogel-leo
cedricvogel-leo merged commit 3b31dc9 into main Oct 25, 2026
1 check 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.

1 participant