mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 02:04:22 +01:00
sync
This commit is contained in:
@@ -19,7 +19,7 @@ export class SyncServer extends DurableObject {
|
|||||||
const data = await this.ctx.storage.list()
|
const data = await this.ctx.storage.list()
|
||||||
data.forEach((content: any, key) => {
|
data.forEach((content: any, key) => {
|
||||||
if (key === "shareID") return
|
if (key === "shareID") return
|
||||||
server.send(JSON.stringify({ key, content: JSON.parse(content) }))
|
server.send(JSON.stringify({ key, content: content }))
|
||||||
})
|
})
|
||||||
}, 0)
|
}, 0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user