tldraw/apps/images.tldraw.xyz/wrangler.toml
alex cbac3ad3d0
introduce images.tldraw.xyz image optimisation worker (#4069)
Fixes asset loading/processing on staging/previews by introducing a new
image processing worker. This worker acts as a proxy for our various
image hosts and resizes/optimizes/caches images on the fly. Like the old
bookmark worker, this one is deployed in an ad-hoc fashion as it works
across environments and we're not likely to change it often.

### Change type

- [x] `other`
2024-07-08 16:25:53 +00:00

7 lines
165 B
TOML

main = "src/worker.ts"
compatibility_date = "2024-06-20"
name = "image-optimizer"
route = { pattern = "images.tldraw.xyz", custom_domain = true }
[dev]
port = 8786