Skip to content

Commit

Permalink
Merge pull request #273 from dipsylala/server_url_validation
Browse files Browse the repository at this point in the history
Update PiComponent.vue - minor validation change
  • Loading branch information
cgiesche authored May 17, 2024
2 parents 7736df8 + 7700035 commit f8c7154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PiComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div class="mb-3">
<label class="form-label" for="serverUrl">Server URL</label>
<input id="serverUrl" v-model="serverUrl" class="form-control form-control-sm" type="email">
<input id="serverUrl" v-model="serverUrl" class="form-control form-control-sm" type="url">
<div class="form-text"><strong>Without SSL</strong> ws://localhost:8123/api/websocket
</div>
<div class="form-text"><strong>With SSL</strong> wss://ha.mydomain.net:8123/api/websocket (requires a trusted
Expand Down

0 comments on commit f8c7154

Please sign in to comment.