Repository navigation
Commit 817091a
fix(llms): give llms.txt absolute links on the requesting origin (#27)
The index linked pages root-relatively, so a copy of llms.txt handed to a
model or fetched on its own pointed nowhere. Build each link from the
request's origin instead, which keeps the repository free of channel
hostnames and serves every channel its own links.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 6c908c7 commit 817091a
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
9 | 7 | | |
10 | | - | |
| 8 | + | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
0 commit comments