文件历史

7 次代码提交

作者 SHA1 备注 提交日期
yf 8eba6cd44b Sign presigned URLs with public S3 endpoint
Server-side ops (HEAD/Delete) keep the internal endpoint; presigned
PUT/GET URLs handed to the browser now use S3_ENDPOINT (public) so the
client can actually reach them.
2026-09-18 17:06:42 +08:00
yf 3db74f3c8c Add upload/download with PG metadata
- POST /api/cloud/uploads: presigned PUT URL + pending metadata row
- POST /api/cloud/uploads/:id/confirm: mark ready, HEAD object to backfill size
- GET /api/cloud/uploads: list metadata
- GET /api/cloud/uploads/🆔 metadata + presigned GET download URL
- DELETE /api/cloud/uploads/🆔 delete object + metadata
- Auto-migrate app.uploads schema
- S3 credentials exchange with expiry cache
- Frontend: upload (direct PUT), list, download, delete UI
- Drop 512MiB big.bin build (no longer needed)
2026-09-18 16:32:59 +08:00
yf 666ec34eea Use virtual-hosted S3 so TOS accepts object-store probes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 14:57:59 +08:00
yf 25cad8065b Add 16MiB static blob and db/s3 probe APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:00:13 +08:00
yf 5de57c1357 adapt to wehub.json static/web, drop old manifest refs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 21:30:45 +08:00
yf 45a2c520b5 chore: add package-lock.json for npm ci
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 21:08:27 +08:00
yf f380b006a2 chore: init static-site-function template demo
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 21:04:57 +08:00