refactor(tts): derive save filename from URL path only

This commit is contained in:
2026-08-10 09:12:34 +08:00
parent 82caa9bb9c
commit 45bf362fbc
5 changed files with 16 additions and 35 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ apps/web ──► apps/proxy ──► packages/tts ──► packages/shared
- **`apps/web``packages/mesh`** — extrudes 2D shapes into 3D geometry
(`{ front, back, walls }`) for the tile, token, and card viewers.
- **`apps/proxy``packages/tts`** — calls `fetchMod` / `getFileName` to serve
item requests.
item requests (the filename is derived from the save URL path).
- **`apps/proxy``packages/shared`** — uses shared types and zod schemas for
request/response validation.
- **`packages/tts``packages/shared`** — consumes `TTSMod` / `TTSObject`