feat: update region placeholder

This commit is contained in:
Christy Jacob
2024-11-05 18:34:04 +01:00
parent ef1dda550e
commit 0dd4377777
27 changed files with 27 additions and 27 deletions

View File

@@ -51,7 +51,7 @@ import android.content.Context
import io.appwrite.Client
object Appwrite {
private const val ENDPOINT = "https://cloud.appwrite.io/v1"
private const val ENDPOINT = "https://<REGION>.cloud.appwrite.io/v1"
private const val PROJECT_ID = "<PROJECT_ID>"
private lateinit var client: Client

View File

@@ -62,7 +62,7 @@ Look for `// Add this line 👇` to find where the changes made here.
```kotlin
object Appwrite {
private const val ENDPOINT = "https://cloud.appwrite.io/v1"
private const val ENDPOINT = "https://<REGION>.cloud.appwrite.io/v1"
private const val PROJECT_ID = "<PROJECT_ID>"
private lateinit var client: Client

View File

@@ -103,7 +103,7 @@ import android.content.Context
import io.appwrite.Client
object Appwrite {
private const val ENDPOINT = "https://cloud.appwrite.io/v1"
private const val ENDPOINT = "https://<REGION>.cloud.appwrite.io/v1"
private const val PROJECT_ID = "<PROJECT_ID>"
private lateinit var client: Client

View File

@@ -83,7 +83,7 @@ For example, your `.env` might look something similar to this.
```env
APPWRITE_KEY=<YOUR_API_KEY>
PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
PUBLIC_APPWRITE_ENDPOINT=https://<REGION>.cloud.appwrite.io/v1
PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
```

View File

@@ -64,7 +64,7 @@ For example, your `.env` might look something similar to this.
```env
NEXT_APPWRITE_KEY=<YOUR_API_KEY>
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://<REGION>.cloud.appwrite.io/v1
NEXT_PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
```

View File

@@ -103,6 +103,6 @@ For example, your `.env` might look something similar to this.
```env
APPWRITE_KEY=<YOUR_API_KEY>
PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
PUBLIC_APPWRITE_ENDPOINT=https://<REGION>.cloud.appwrite.io/v1
PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
```

View File

@@ -46,7 +46,7 @@ Your project id is located in the **Settings** page in the Appwrite console.
Add a `.env` file to the root directory and add the following code to it, replacing `PROJECT_ID` with your project id.
```
VITE_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
VITE_APPWRITE_ENDPOINT=https://<REGION>.cloud.appwrite.io/v1
VITE_APPWRITE_PROJECT=PROJECT_ID
```

View File

@@ -39,7 +39,7 @@ export const appwrite = {
For example, your `.env` might look something similar to this.
```env
PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
PUBLIC_APPWRITE_ENDPOINT=https://<REGION>.cloud.appwrite.io/v1
PUBLIC_APPWRITE_PROJECT=642sdddf85b440dc7e5bf
```

View File

@@ -69,7 +69,7 @@ For example, your `.env` might look something similar to this.
```text
APPWRITE_KEY=<YOUR_API_KEY>
PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
PUBLIC_APPWRITE_ENDPOINT=https://<REGION>.cloud.appwrite.io/v1
PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
```