forked from Mirrors/keyoxide-web
Make hostname configurable
This commit is contained in:
parent
e6f4796399
commit
9d69a80cf4
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export async function computeWKDLocalPart(localPart) {
|
|||
|
||||
// Generate Keyoxide profile URL
|
||||
export async function generateProfileURL(data) {
|
||||
let hostname = window.location.hostname;
|
||||
let hostname = data.hostname || window.location.hostname;
|
||||
|
||||
if (data.input == "") {
|
||||
return "Waiting for input...";
|
||||
|
|
Loading…
Reference in a new issue