Skip to content

fix: support Discourse installations under subfolders - #46

Merged
SamSaffron merged 1 commit into
mainfrom
subfolder
May 11, 2026
Merged

fix: support Discourse installations under subfolders#46
SamSaffron merged 1 commit into
mainfrom
subfolder

Conversation

@SamSaffron

Copy link
Copy Markdown
Member

Preserve the path component when normalizing --site and auth_pairs
site URLs so installations served from a subfolder (e.g.
https://example.com/forum) route correctly.

  • Route leading-slash API paths like /about.json and /search.json
    under the configured subfolder base
  • Keep root-site behavior unchanged for sites hosted at the domain root
  • Add tests covering subfolder and root-base URL resolution, cache key
    stability, and the select-site/tethered search flows

Bumps version to 0.2.8.

Preserve the path component when normalizing `--site` and `auth_pairs`
site URLs so installations served from a subfolder (e.g.
`https://example.com/forum`) route correctly.

- Route leading-slash API paths like `/about.json` and `/search.json`
  under the configured subfolder base
- Keep root-site behavior unchanged for sites hosted at the domain root
- Add tests covering subfolder and root-base URL resolution, cache key
  stability, and the select-site/tethered search flows

Bumps version to 0.2.8.
@SamSaffron
SamSaffron merged commit 98fe202 into main May 11, 2026
2 checks passed
@SamSaffron
SamSaffron deleted the subfolder branch May 11, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants