treehouse icon indicating copy to clipboard operation
treehouse copied to clipboard

Treehouse assumes it's running at the top-level for a domain

Open ajbouh opened this issue 5 months ago • 0 comments

I tried to use this with a reverse proxy that "mounts" this at a URL like /treehouse. Unfortunately things really didn't work:

  • The .css and .js references in html are all absolute
  • Links to /demo are broken (because they're also absolute).
  • Visiting /treehouse/demo redirects to /demo, which isn't Treehouse anymore in my scenario :)

What is the recommended way to use just the core functionality of Treehouse without running the whole app at /?

ajbouh avatar Feb 05 '24 17:02 ajbouh