readme update, updated some queries to use numbers instead of strings

This commit is contained in:
mrfry 2023-04-11 14:33:47 +02:00
parent 088a3785cc
commit f8a7c6a4e5
14 changed files with 53 additions and 62 deletions

View file

@ -123,7 +123,7 @@
button.classList.add('disabledButton')
button.disabled = true
// TODO: get url from controller
const rawResponse = await fetch('<%= useHttp ? `http://${domain}/api/login` : `https://${domain}/api/login` %>', {
const rawResponse = await fetch('/api/login', {
method: 'POST',
credentials: 'include',
headers: {