Skip to content

Commit

Permalink
fix: hostname selector
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Feb 4, 2024
1 parent bf86817 commit 3b6d38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const CoCreateUser = {
if (origin)
origin = await origin.getValue() || window.location.origin

let hostname = action.form.querySelector('input[key="origin"]');
let hostname = action.form.querySelector('input[key="hostname"]');
if (hostname)
hostname = await hostname.getValue() || window.location.hostname

Expand Down

0 comments on commit 3b6d38d

Please sign in to comment.