mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09:37:50 -05:00
feat(rules): the game's rules window shows data/rules.txt
The rules were written into the client, so changing them meant a new build. GET /rules.txt reads data/rules.txt on every ask (no restart needed; data/ is what prod keeps between deploys and lets the server write), making it with "Example" when there is none. The rules window fetches it each time it opens: a line starting "# " is a heading in the old rules' heading style, the rest is shown as it is written (escaped, never HTML). 64 KB at most. buildVersion 75. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0c3bfd97b3
commit
da9f2fd5a6
4 files changed
+73
-4
No files matched your search
Binary file not shown.
Reference in new issue
Block a user