Skip to content

Commit

Permalink
fix(api): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
argl committed Jul 16, 2024
1 parent 798d90a commit 54086d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/v2/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function isIp(hostname) {
* @throws {InvalidHostNameIpError | InvalidHostNameError}
*/
export async function validHostname(hostname) {
// rewmove any trailing dot
// remove any trailing dot
hostname = hostname.replace(/\.$/, "");
if (
!hostname.includes(".") ||
Expand Down

0 comments on commit 54086d4

Please sign in to comment.