Skip to content

Commit 5f3f03c

Browse files
Merge pull request #646 from appwrite/docs-cloud
2 parents 7ea4e37 + 0338fbb commit 5f3f03c

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

templates/android/docs/java/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }};
77

88
Client client = new Client(context)
99
{% if method.auth|length > 0 %}
10-
.setEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
10+
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
1111
{% for node in method.auth %}
1212
{% for key,header in node|keys %}
1313
.set{{header | caseUcfirst}}("{{node[header]['x-appwrite']['demo']}}"){% if loop.last %};{% endif %} // {{node[header].description}}

templates/android/docs/kotlin/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }}
66

77
val client = Client(context)
88
{% if method.auth|length > 0 %}
9-
.setEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
9+
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
1010
{% for node in method.auth %}
1111
{% for key,header in node|keys %}
1212
.set{{header | caseUcfirst}}("{{node[header]['x-appwrite']['demo']}}") // {{node[header].description}}

templates/dart/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() { // Init SDK
99

1010
{% if method.auth|length > 0 %}
1111
client
12-
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
12+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
1313
{% for node in method.auth %}
1414
{% for key,header in node|keys %}
1515
.set{{header}}('{{node[header]['x-appwrite']['demo']}}') // {{node[header].description}}

templates/deno/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let {{ service.name | caseCamel }} = new sdk.{{service.name | caseUcfirst}}(clie
1010

1111
{% if method.auth|length > 0 %}
1212
client
13-
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
13+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
1414
{% for node in method.auth %}
1515
{% for key,header in node|keys %}
1616
.set{{header}}('{{node[header]['x-appwrite']['demo']}}') // {{node[header].description}}

templates/dotnet/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Client client = new Client();
44

55
{% if method.auth|length > 0 %}
66
client
7-
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
7+
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
88
{% for node in method.auth %}
99
{% for key,header in node|keys %}
1010
.Set{{header | caseUcfirst}}("{{node[header]["x-appwrite"]["demo"]}}") // {{node[header].description}}

templates/flutter/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() { // Init SDK
99

1010
{% if method.auth|length > 0 %}
1111
client
12-
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
12+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
1313
{% for node in method.auth %}
1414
{% for key,header in node|keys %}
1515
.set{{header}}('{{node[header]['x-appwrite']['demo']}}') // {{node[header].description}}

templates/go/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func main() {
1010
client := {{ spec.title | caseLower }}.NewClient()
1111

1212
{% if method.auth|length > 0 %}
13-
client.SetEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
13+
client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
1414
{% for node in method.auth %}
1515
{% for key,header in node|keys %}
1616
client.Set{{header}}("{{node[header]['x-{{ spec.title | caseLower }}']['demo']}}") // {{node[header].description}}

templates/kotlin/docs/java/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }};
77

88
Client client = new Client()
99
{% if method.auth|length > 0 %}
10-
.setEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
10+
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
1111
{% for node in method.auth %}
1212
{% for key,header in node|keys %}
1313
.set{{header | caseUcfirst}}("{{node[header]['x-appwrite']['demo']}}"){% if loop.last %};{% endif %} // {{node[header].description}}

templates/kotlin/docs/kotlin/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }}
66

77
val client = Client(context)
88
{% if method.auth|length > 0 %}
9-
.setEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
9+
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
1010
{% for node in method.auth %}
1111
{% for key,header in node|keys %}
1212
.set{{header | caseUcfirst}}("{{node[header]['x-appwrite']['demo']}}") // {{node[header].description}}

templates/node/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const {{ service.name | caseCamel }} = new sdk.{{service.name | caseUcfirst}}(cl
1010

1111
{% if method.auth|length > 0 %}
1212
client
13-
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
13+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
1414
{% for node in method.auth %}
1515
{% for key,header in node|keys %}
1616
.set{{header}}('{{node[header]['x-appwrite']['demo']}}') // {{node[header].description}}

0 commit comments

Comments
 (0)