feat: change some console.log calls
This commit is contained in:
parent
397e94798f
commit
6154bb89d0
1 changed files with 2 additions and 4 deletions
|
@ -39,9 +39,7 @@ const registrationEnabled = useState("registrationEnabled", () => true);
|
||||||
const auth = useAuth();
|
const auth = useAuth();
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
const cookie = useCookie("instance_url").value;
|
instanceUrl.value = useCookie("instance_url").value;
|
||||||
instanceUrl.value = cookie;
|
|
||||||
console.log(cookie);
|
|
||||||
console.log("set instance url to:", instanceUrl.value);
|
console.log("set instance url to:", instanceUrl.value);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -49,8 +47,8 @@ async function selectInstance(e: Event) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
console.log("trying input instance");
|
console.log("trying input instance");
|
||||||
if (instanceUrlInput.value) {
|
if (instanceUrlInput.value) {
|
||||||
console.log("input has value");
|
|
||||||
const gorbTxtUrl = new URL(`/.well-known/gorb.txt`, instanceUrlInput.value);
|
const gorbTxtUrl = new URL(`/.well-known/gorb.txt`, instanceUrlInput.value);
|
||||||
|
console.log("input has value");
|
||||||
try {
|
try {
|
||||||
console.log("trying to get gorb.txt:", gorbTxtUrl);
|
console.log("trying to get gorb.txt:", gorbTxtUrl);
|
||||||
const res = await $fetch.raw(gorbTxtUrl.href, { responseType: "text" });
|
const res = await $fetch.raw(gorbTxtUrl.href, { responseType: "text" });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue