38da498754e51233137a69e1e50e3252a5ca92be
Replaces the GET-mutates-state interactions route with a proper split:
- GET /entry/{pid}/votes reads the tally (public, read-only)
- POST /entry/{pid}/vote casts/toggles the vote (auth, mode in body)
Shared voteTally/writeTally helpers back both handlers. Invalid mode now
returns 400. Frontend updated to read via GET and vote via POST.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
Simple Forumengine
4.2 MiB
Languages
Go
67.9%
TypeScript
19.2%
HTML
7%
CSS
4.3%
Shell
1.1%
Other
0.5%