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'
|
||||
|
||||
// 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
|
||||
const securityHeaders = {
|
||||
|
|
|
|||
|
|
@ -16,12 +16,12 @@ upstream_protocol = "https"
|
|||
|
||||
[durable_objects]
|
||||
bindings = [
|
||||
{ name = "TLDRAW_DURABLE_OBJECT", class_name = "jeffemmett_canvas_TldrawDurableObject" },
|
||||
{ name = "TLDRAW_DURABLE_OBJECT", class_name = "TldrawDurableObject" },
|
||||
]
|
||||
|
||||
[[migrations]]
|
||||
tag = "v1"
|
||||
new_classes = ["jeffemmett_canvas_TldrawDurableObject"]
|
||||
new_classes = ["TldrawDurableObject"]
|
||||
|
||||
[[r2_buckets]]
|
||||
binding = 'TLDRAW_BUCKET'
|
||||
|
|
|
|||
Loading…
Reference in New Issue