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
Languages
Go
53.2%
HTML
17.8%
JavaScript
16.9%
CSS
6.8%
Shell
4.6%
Other
0.7%