treehouse
treehouse copied to clipboard
Treehouse assumes it's running at the top-level for a domain
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 /
?