Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/routes/blog/post/offline-first-journal/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export const appwriteConfig = {

export const client = new Client()
.setEndpoint(appwriteConfig.endpoint)
.setEndpointRealtime(appwriteConfig.endpoint)
.setProject(appwriteConfig.projectId);
```

Expand Down Expand Up @@ -230,6 +229,8 @@ export const getDB = async () => {
To setup replication in the Appwrite database, add the following code to the `databases.js` file:

```js
let replicationState = null;

const setupReplication = async (db) => {
try {
// Start replication
Expand Down
1 change: 0 additions & 1 deletion src/routes/integrations/replication-rxdb/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ To create an Appwrite client, add the following code:
```js
export const client = new Client()
.setEndpoint(process.env.APPWRITE_ENDPOINT)
.setEndpointRealtime(process.env.APPWRITE_ENDPOINT)
.setProject(process.env.APPWRITE_PROJECT_ID);
```

Expand Down