d7002057d7
This PR moves the tldraw.com app into the public repo. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2] --------- Co-authored-by: Dan Groshev <git@dgroshev.com> Co-authored-by: alex <alex@dytry.ch>
51 lines
No EOL
972 B
TOML
51 lines
No EOL
972 B
TOML
name = "tldraw-assets"
|
|
main = "src/index.ts"
|
|
compatibility_date = "2022-09-22"
|
|
|
|
[dev]
|
|
port = 8788
|
|
|
|
[[r2_buckets]]
|
|
binding = 'UPLOADS'
|
|
bucket_name = 'uploads'
|
|
preview_bucket_name = 'uploads-preview'
|
|
|
|
[[analytics_engine_datasets]]
|
|
binding = "MEASURE"
|
|
|
|
# staging settings
|
|
[env.staging]
|
|
name = "main-tldraw-assets"
|
|
|
|
[[env.staging.r2_buckets]]
|
|
binding = 'UPLOADS'
|
|
bucket_name = 'uploads'
|
|
preview_bucket_name = 'uploads-preview'
|
|
|
|
[[env.staging.unsafe.bindings]]
|
|
type = "analytics_engine"
|
|
name = "MEASURE"
|
|
|
|
|
|
# production settings
|
|
[env.production]
|
|
name = "tldraw-assets"
|
|
|
|
[[env.production.routes]]
|
|
pattern = 'assets.tldraw.xyz'
|
|
custom_domain = true
|
|
zone_name = 'tldraw.xyz'
|
|
|
|
[[env.production.r2_buckets]]
|
|
binding = 'UPLOADS'
|
|
bucket_name = 'uploads'
|
|
preview_bucket_name = 'uploads-preview'
|
|
|
|
[[env.production.unsafe.bindings]]
|
|
type = "analytics_engine"
|
|
name = "MEASURE"
|
|
|
|
[[env.preview.r2_buckets]]
|
|
binding = 'UPLOADS'
|
|
bucket_name = 'uploads'
|
|
preview_bucket_name = 'uploads-preview' |