Skip to content

Commit 47af365

Browse files
Merge branch 'appwrite:main' into doc-2701-add-zenflow-to-mcp-docs
2 parents 8d41447 + 15219fe commit 47af365

File tree

6 files changed

+48
-19
lines changed

6 files changed

+48
-19
lines changed

src/lib/components/ProductsSubmenu.svelte

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,12 @@
112112
<div
113113
use:melt={$menu}
114114
class={cn(
115-
'data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in relative !left-1/2 z-10 mx-auto mt-6 hidden w-full -translate-x-1/2 flex-col items-center p-0 outline-none [max-inline-size:86.875rem] md:flex'
115+
'data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in relative !left-1/2 z-[9999] mx-auto mt-6 hidden w-full -translate-x-1/2 flex-col items-center p-0 outline-none [max-inline-size:86.875rem] md:flex'
116116
)}
117117
>
118-
<div class="is-special-padding w-full rounded-2xl border border-white/8 bg-[#232325] p-6">
118+
<div
119+
class="is-special-padding products-dropdown-bg w-full rounded-2xl border border-white/8 p-6"
120+
>
119121
<div class="grid w-full grid-cols-1 place-content-between gap-16 lg:grid-cols-12">
120122
<div class="col-span-8 -mr-12 pr-12">
121123
<span
@@ -227,3 +229,9 @@
227229
class="data-[state=closed]:animate-fade-out fixed inset-0 bg-black/60"
228230
></div>
229231
</div>
232+
233+
<style>
234+
:global(.products-dropdown-bg) {
235+
background-color: #232325;
236+
}
237+
</style>

src/routes/docs/products/functions/develop/+page.markdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,11 +1118,11 @@ To get the different response types, set one of the following query parameters i
11181118

11191119
| Type | Query Param | Example |
11201120
|----------|-----------------|-------------------------------------------------------------|
1121-
| `text` | `/?type=text` | `https://64d4d22db370ae41a32e.appwrite.global/?type=text` |
1122-
| `json` | `/?type=json` | `https://64d4d22db370ae41a32e.appwrite.global/?type=json` |
1123-
| `redirect` | `/?type=redirect` | `https://64d4d22db370ae41a32e.appwrite.global/?type=redirect` |
1124-
| `html` | `/?type=html` | `https://64d4d22db370ae41a32e.appwrite.global/?type=html` |
1125-
| `empty` | `/` | `https://64d4d22db370ae41a32e.appwrite.global/` |
1121+
| `text` | `/?type=text` | `https://64d4d22db370ae41a32e.fra.appwrite.run/?type=text` |
1122+
| `json` | `/?type=json` | `https://64d4d22db370ae41a32e.fra.appwrite.run/?type=json` |
1123+
| `redirect` | `/?type=redirect` | `https://64d4d22db370ae41a32e.fra.appwrite.run/?type=redirect` |
1124+
| `html` | `/?type=html` | `https://64d4d22db370ae41a32e.fra.appwrite.run/?type=html` |
1125+
| `empty` | `/` | `https://64d4d22db370ae41a32e.fra.appwrite.run/` |
11261126

11271127
## Logging {% #logging %}
11281128
To protect user privacy, the request and response objects are not logged to the Appwrite Console by default.

src/routes/docs/products/functions/domains/+page.markdoc

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: Execute Appwrite Functions through domains using standard HTTP GET,
55
---
66

77
Each deployed function can have its own domain, generated or developer defined.
8-
You can use this domain to execute Appwrite Functions through HTTP methods.
9-
You can use common practices like using paths, query parameters, headers, HTTP methods, formdata,
8+
You can use this domain to execute Appwrite Functions through HTTP methods.
9+
You can use common practices like using paths, query parameters, headers, HTTP methods, formdata,
1010
and all the typical HTTP concepts to implement Appwrite Functions.
1111

1212
Appwrite generates TLS certificates to enforce HTTPS on all Appwrite Functions domains, generated or custom.
@@ -18,14 +18,38 @@ Learn about Function development
1818

1919
# Generated domains {% #generated-domains %}
2020

21+
Each function automatically receives a region-specific domain that's ready to use immediately after deployment.
22+
2123
1. In the Appwrite Console's sidebar, click **Functions**.
2224
1. Under the **Domains** tab, you'll find the generated domain from Appwrite.
2325

24-
The domain usually has this format.
25-
```bash
26-
https://64d4d22db370ae41a32e.appwrite.global
26+
The generated domain ends with `.appwrite.run`, which executes your function directly in the region where it is deployed. For example:
27+
28+
```text
29+
https://64d4d22db370ae41a32e.fra.appwrite.run
30+
```
31+
32+
# Edge network domain {% #edge-network-domain %}
33+
34+
You can add an `appwrite.network` domain to your function to take advantage of Appwrite's edge network. The `appwrite.network` domain routes requests to the nearest region based on the user's geographic location, reducing latency for globally distributed users.
35+
36+
To add an edge network domain:
37+
38+
1. Navigate to the Appwrite Console's **Functions** page.
39+
2. Navigate to the **Domains** tab.
40+
3. Click on **Create domain** and add the `appwrite.network` domain to your function.
41+
42+
The edge network domain ends with `.appwrite.network`. For example:
43+
44+
```text
45+
https://64d4d22db370ae41a32e.appwrite.network
2746
```
2847

48+
{% arrow_link href="/docs/products/network/edges" %}
49+
Learn more about edge network
50+
{% /arrow_link %}
51+
52+
2953
# Add a custom domain {% #add-a-custom-domain %}
3054

3155
1. Navigate to the Appwrite Console's **Functions** page.

src/routes/docs/products/functions/execute/+page.markdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ You can execute a function through HTTP requests, using a browser or by sending
1818
1. Under the **Domains** tab, you'll find the generated domain from Appwrite and your custom domains. [Learn about adding a custom domain](/docs/products/functions/domains).
1919

2020
```bash
21-
https://64d4d22db370ae41a32e.appwrite.global
21+
https://64d4d22db370ae41a32e.fra.appwrite.run
2222
```
2323

24-
When requests are made to this domain, whether through a browser or through an HTTP requests,
24+
When requests are made to this domain, whether through a browser or through an HTTP request,
2525
the request information like request URL, request headers, and request body will be passed to the function.
2626

2727
```bash
28-
curl -X POST https://64d4d22db370ae41a32e.appwrite.global \
28+
curl -X POST https://64d4d22db370ae41a32e.fra.appwrite.run \
2929
-H "X-Custom-Header: 123" \
3030
-H "x-appwrite-user-jwt: <YOUR_JWT_KEY>" \
3131
-H "Content-Type: application/json" \

src/routes/docs/products/network/endpoints/+page.markdoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ Appwrite offers multiple endpoints to access its services, each designed to opti
1010

1111
The **`appwrite.network`** domain provides geo-balanced endpoints that route traffic to the nearest edge node based on the user's geographic location.
1212

13-
{% info title="Availability" %}
14-
The `appwrite.network` endpoints will be available in Q2 2025. Currently, you can use the `appwrite.run` domains to run functions in your region of choice.
15-
{% /info %}
1613

1714
The edge network endpoints are designed for:
1815
- **Latency-sensitive operations**: Quickly serving cached content, routing requests, or performing lightweight edge computations.

src/routes/docs/tutorials/subscriptions-with-stripe/step-4/+page.markdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ You don't need to follow the remaining screens, so you can click on **Skip optio
3434
Navigate to your Stripe dashboard, under **Developers**, go to the **Webhooks** tab.
3535
Click on the webhook we added earlier, under the three-dot menu, click **Update details**.
3636

37-
Update the **Endpoint URL** to `https://<YOUR_FUNCTION_DOMAIN>/webhook`. For example, `https://6579ea96aa28a5cfb66a.appwrite.global/webhook`
37+
Update the **Endpoint URL** to `https://<YOUR_FUNCTION_DOMAIN>/webhook`. For example, `https://6579ea96aa28a5cfb66a.fra.appwrite.run/webhook`

0 commit comments

Comments
 (0)