Thicket thicket
cambridge
REPOS 4

Projects covers Forester, Merry, xdge and ocaml-crockford.

W38.2026 · 14–20 Sep / Issue

When Forest URL is a subdirectory, preview doesn't work(?)

tangled · jonmsterling.com/ocaml-forester · did:plc:jjiv56ot7d6sgethto3jr3r5

Just to exercise this a bit, I tried out https://github.com/samtoth/agda-synthetic-categories, which is configured like so:

[forest]
trees = ["trees"] # The directories in which trees are stored
url = "https://samtoth.github.io/agda-synthetic-categories/"
assets = ["assets"]
home = "index"

Running forester, I can't figure out how to actually access the preview. localhost:8080/preview/ and localhost:8080/agda-synthetic-categories/preview/ both result in Router: no match.

Comments

did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

It is indeed a routing bug that /preview results in no match, but doesn't localhost:8080 resolve?


did:plc:jjiv56ot7d6sgethto3jr3r5

No, localhost:8080 just leads to No match.


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

https://tangled.org/jonmsterling.com/ocaml-forester/commit/582dcd5ae758f4ab4f4edfa40ac2ae90294d0779