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
5.1 MiB
Languages
Go
64.3%
TypeScript
25.2%
CSS
4.2%
HTML
4%
Python
1.4%
Other
0.9%