Open kottackalthulasi opened 5 years ago
You can pass a directory option to the OrbitDB.createInstance
call like this:
const orbitdb = OrbitDB.createInstance(ipfs, { directory: 'path/to/data/' })
I tried it.. But actually no use... no data are getting stored in that folder.
@aphelionz where is it stored if you don't add the directory option?
I think in the ./orbitdb
dir
where does orbitdb data are stored? I lost all data while copied the same project folder to another location.
My code is given below: