Skip to content

Commit 43a4cfa

Browse files
authored
Update hostname error message to avoid adding .local suffix (#1883)
Resolves #1879 This change updates the error message related to changing the hostname with a `.local` suffix. The previous message was misleading, as users do not need to add `.local` explicitly. The updated message now clearly instructs users to avoid adding `.local`, making the guidance more accurate and user-friendly. ![Screenshot 2025-05-21 at 11 30 12 PM](https://github.com/user-attachments/assets/8d40a816-f314-4c8a-ab13-5324dfdce2aa) <a data-ca-tag href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1883"><img src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review on CodeApprove" /></a>
1 parent 49f8db6 commit 43a4cfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/templates/custom-elements/change-hostname-dialog.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ <h3>Change Hostname</h3>
5858
<inline-message variant="error" id="input-error">
5959
<strong>Invalid hostname:</strong> it can only contain the letters a-z,
6060
digits and dashes (it cannot start with a dash, though). It must contain
61-
1-63 characters and cannot be "localhost".
61+
1-63 characters and cannot be "localhost". You don't need to include
62+
".local"
6263
</inline-message>
6364
</div>
6465
<button id="change-and-restart" class="btn-success" type="button">

0 commit comments

Comments
 (0)