mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
cookies and login fix
This commit is contained in:
@@ -122,7 +122,8 @@
|
||||
button.innerText = '...'
|
||||
button.classList.add('disabledButton')
|
||||
button.disabled = true
|
||||
const rawResponse = await fetch('<%= devel ? 'http' : 'https' %>://frylabs.net/api/login', {
|
||||
// TODO: get url from controller
|
||||
const rawResponse = await fetch('<%= devel ? 'http://localhost:8080/api/login' : 'https://frylabs.net/api/login' %>', {
|
||||
method: 'POST',
|
||||
credentials: 'include',
|
||||
headers: {
|
||||
|
Reference in New Issue
Block a user