Skip to content

Commit

Permalink
fix: documentation copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Feb 13, 2023
1 parent d44ec46 commit 093a1b7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Documentation/DocBinary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<template v-slot:doc-body>
If a device does not have <router-link :to='structured_link()' class='font-weight-bold text-primary'>structured data</router-link> enabled, binary messages will be sent and received as normal.
<br>
If it is enabled, binary data received will result in a invalid message
If it is enabled, binary data sent will result in a invalid message retunred to the sender
<v-row justify='center' class='ma-0 pa-0 my-2'>
<v-col cols='12' class='ma-0 pa-0'>
<CodeBlock :titleBar='false' :code='json_structured_invalid' />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Documentation/DocConnect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<br>
In order to keep connections alive, the <StaticPi /> servers send a <span class='font-weight-bold'>PING</span> message every 30 seconds, these are not counted against your monthly bandwidth allowance.
<br>
If a <span class='font-weight-bold'>PONG</span> message is not sent back within 10 seconds of receiving a <span class='font-weight-bold'>PING</span> message,
If a <span class='font-weight-bold'>PONG</span> message is not sent back within 40 seconds of receiving a <span class='font-weight-bold'>PING</span> message,
the connection will be closed. This should be automatically handled by whichever WebSocket library that you use.
<br><br>
<CodeBlock :key='`client_a${componentKey}`' :code='code_basic_connect_client' filename='connect_client.js' class='my-3' />
Expand Down
4 changes: 2 additions & 2 deletions src/components/Documentation/DocRateLimits.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
If the rate limit is exceeded, a one-minute ban on sending and receiving messages is imposed.
If the limit is exceeded by a factor of 4, a five-minute block on sending, receiving, and connecting is imposed, and the offending connection will be terminated.
<v-divider color='secondary' class='my-2' thickness='2' />
<v-row justify='center' class='ma-0 pa-0'>
<v-row justify='start' class='ma-0 pa-0'>
<v-col cols='auto' class='ma-0 pa-0'>
<ProUserChip class=''/>
<ProUserChip class='mb-2'/>
</v-col>
</v-row>
If <router-link :to='structured_link()' class='font-weight-bold text-primary'>structured data</router-link> is enabled, when rate limited,
Expand Down
2 changes: 1 addition & 1 deletion src/views/NotAuthenticated/PlansView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const planData = [
freePlan: true,
},
{
detail: 'available',
detail: 'Pi and Clients can either share or have separate passwords',
freePlan: false,
},
],
Expand Down

0 comments on commit 093a1b7

Please sign in to comment.