pis #2

Merged
fred.boniface merged 76 commits from pis into main 2023-05-06 21:53:45 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8e079512cc - Show all commits

View File

@ -74,7 +74,7 @@ async function isRegistered() { // Check if a device is registered, returns BOOL
async function register() { // Registers a device by sending POST request to API Server
if (! await isRegistered()) {
showLoading()
let url = `${window.location.origin}/api/v1/auth/request`;
let url = `${window.location.origin}/api/v1/register/request`;
let email = document.getElementById("eml").textContent
let res = await fetch(url, {
method: "POST",