Skip to content

Commit

Permalink
Update logs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cristian-amaral authored Dec 11, 2023
1 parent 1858ba8 commit e09a6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n/en/docusaurus-plugin-content-docs/current/logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar_position: 7

When you open the **Logs** page, you can click on the Visual Studio Code for Web icon (top right corner) to view the code of a simple API with a `console.log`. Whenever you access this API and open the Logs page, the log will appear in the real-time logs area.

To access the API, get back to the site's Overview page, open it in a new tab, and navigate to `/api`. This will trigger a request to the API. Then, you can return to the Logs page and refresh it if necessary until the logs appear.
To access the API, go to the site's **Overview** page, open it in a new tab, and navigate to `/api`. This will trigger a request to the API. Then, you can return to the Logs page and refresh it if necessary until the logs appear.

Thanks to **Web Sockets** and **CloudFlare's Durable Objects**, this is instantaneous.

Expand Down

0 comments on commit e09a6c7

Please sign in to comment.