Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Update getting-started-for-web.phtml #417

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions app/views/docs/getting-started-for-web.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ $demos = $platform['demos'] ?? [];
<div class="ide" data-lang="javascript" data-lang-label="Web SDK">
<pre class="line-numbers"><code class="prism language-javascript" data-prism>const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('[PROJECT_ID]'); // Your project ID
.setProject('64cd173b3c113749be37'); // Your project ID
</code></pre>
</div>

Expand Down Expand Up @@ -108,7 +108,7 @@ client.subscribe('files', response => {

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('[PROJECT_ID]'); // Your project ID
.setProject('64cd173b3c113749be37'); // Your project ID

const account = new Account(client);

Expand Down