Skip to content

Commit

Permalink
m-ld/m-ld-gateway#7: Using the public m-ld gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
gsvarovsky committed Jul 20, 2023
1 parent 9b5b351 commit a9aa1bf
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1,742 deletions.
4 changes: 2 additions & 2 deletions js/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ export class TodoStore extends EventTarget {
}
clone(new MemoryLevel, IoRemotes, {
'@id': uuid(),
'@domain': `${this.id}.todomvc.m-ld.org`,
'@domain': `${this.id}.public.gw.m-ld.org`,
genesis: isNew,
io: {uri: `http://${window.location.hostname}:3001`}
io: {uri: `https://gw.m-ld.org`}
}).then(async meld => {
this.meld = meld;
await meld.status.becomes({ outdated: false });
Expand Down
Loading

0 comments on commit a9aa1bf

Please sign in to comment.