Replace os.ReadFile+os.WriteFile with io.Copy so large files (e.g. the 21MB demo-replay-v2-6p.json) are never fully loaded into RAM during copyWebAssets. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| blog.go | ||
| cards.go | ||
| config.go | ||
| db.go | ||
| deploy.go | ||
| Dockerfile | ||
| generator.go | ||
| main.go | ||
| main_test.go | ||
| narrative.go | ||
| narrative_test.go | ||
| s3.go | ||
| s3_test.go | ||