Skip to content

Allow running behind a reverse proxy in a subpath - #60

Open
dzil123 wants to merge 3 commits into
jakobhellermann:mainfrom
dzil123:tweaks
Open

Allow running behind a reverse proxy in a subpath#60
dzil123 wants to merge 3 commits into
jakobhellermann:mainfrom
dzil123:tweaks

Conversation

@dzil123

@dzil123 dzil123 commented Jun 19, 2026

Copy link
Copy Markdown

this is a collection of tweaks I made to improve the experience of using wasm-server-runner behind vscode’s port forwarding, where wasm-server-runner is exposed at https://host/proxy/1334/ instead of http://host:1334/

  • use relative urls everywhere, to allow running in a subpath
  • remove extra newline from forwarded console log messages
  • check fetch response http status in startReloadInterval
    • fixes behavior when the reverse proxy returns http 500 status

dzil123 added 3 commits June 19, 2026 03:03
this allows running behind a reverse proxy in a subpath
this removes a duplicate newline from the rust wasm's log messages
this allows running behind a reverse proxy that returns http 5xx status
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