fix durable object reference
This commit is contained in:
parent
1c8909ce69
commit
c34418e964
|
|
@ -4,7 +4,7 @@ import { handleAssetDownload, handleAssetUpload } from './assetUploads'
|
||||||
import { Environment } from './types'
|
import { Environment } from './types'
|
||||||
|
|
||||||
// make sure our sync durable object is made available to cloudflare
|
// make sure our sync durable object is made available to cloudflare
|
||||||
export { TldrawDurableObject as jeffemmett_canvas_TldrawDurableObject } from './TldrawDurableObject'
|
export { TldrawDurableObject } from './TldrawDurableObject'
|
||||||
|
|
||||||
// Define security headers
|
// Define security headers
|
||||||
const securityHeaders = {
|
const securityHeaders = {
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,12 @@ upstream_protocol = "https"
|
||||||
|
|
||||||
[durable_objects]
|
[durable_objects]
|
||||||
bindings = [
|
bindings = [
|
||||||
{ name = "TLDRAW_DURABLE_OBJECT", class_name = "jeffemmett_canvas_TldrawDurableObject" },
|
{ name = "TLDRAW_DURABLE_OBJECT", class_name = "TldrawDurableObject" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[migrations]]
|
[[migrations]]
|
||||||
tag = "v1"
|
tag = "v1"
|
||||||
new_classes = ["jeffemmett_canvas_TldrawDurableObject"]
|
new_classes = ["TldrawDurableObject"]
|
||||||
|
|
||||||
[[r2_buckets]]
|
[[r2_buckets]]
|
||||||
binding = 'TLDRAW_BUCKET'
|
binding = 'TLDRAW_BUCKET'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue