Commit

Author:

Hash:

Timestamp:

+3 -3 +/-2 browse

Kevin Schoon [me@kevinschoon.com]

ab3229ef6e6b527caf924e222dc7bc1d6916d961

Sun, 07 Dec 2025 13:39:40 +0000 (15 hours ago)

change fqdn input to include specification
1diff --git a/static/verifier.js b/static/verifier.js
2index b0f075e..3994637 100644
3--- a/static/verifier.js
4+++ b/static/verifier.js
5 @@ -162,7 +162,7 @@ function validateProject() {
6 document.getElementById("results").innerText = "";
7 const fqdn = document.getElementById("fqdn")[0].value;
8 const project = document.getElementById("project")[0].value;
9- let queryUrl = "https://" + fqdn + "/.well-known/webfinger?resource=" + project;
10+ let queryUrl = fqdn + "/.well-known/webfinger?resource=" + project;
11 document.getElementById("query-url").innerHTML = "<code>" + queryUrl + "</code>";
12 doQuery(queryUrl, function(data) {
13 let parsed = JSON.parse(data);
14 @@ -183,7 +183,7 @@ function validateRepository() {
15 document.getElementById("results").innerText = "";
16 const fqdn = document.getElementById("fqdn")[0].value;
17 const repository = document.getElementById("repository")[0].value;
18- let queryUrl = "https://" + fqdn + "/.well-known/webfinger?resource=" + repository;
19+ let queryUrl = fqdn + "/.well-known/webfinger?resource=" + repository;
20 document.getElementById("query-url").innerText = queryUrl;
21 doQuery(queryUrl, function(data) {
22 let parsed = JSON.parse(data);
23 diff --git a/templates/validator.html b/templates/validator.html
24index ab8d2fe..ad89331 100644
25--- a/templates/validator.html
26+++ b/templates/validator.html
27 @@ -12,7 +12,7 @@ your server must have the appropriate CORS headers:
28 <div id="validator">
29 <form id="fqdn">
30 <label for="domain">
31- FQDN
32+ Schema + FQDN, e.g. <code>https://ayllu-forge.org</code>
33 </label>
34 <input
35 type="text"