cbac3ad3d0
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`
7 lines
165 B
TOML
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
|