mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
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
|
// Generate Keyoxide profile URL
|
||||||
export async function generateProfileURL(data) {
|
export async function generateProfileURL(data) {
|
||||||
let hostname = window.location.hostname;
|
let hostname = data.hostname || window.location.hostname;
|
||||||
|
|
||||||
if (data.input == "") {
|
if (data.input == "") {
|
||||||
return "Waiting for input...";
|
return "Waiting for input...";
|
||||||
|
|
Loading…
Reference in a new issue