Обновить index.html
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
let password = document.getElementById('password').value;
|
let password = document.getElementById('password').value;
|
||||||
|
|
||||||
console.log(username + password)
|
console.log(username + password)
|
||||||
let json = JSON.stringify({ username, password, deviceId: 'stub-device', publicKey: 'N6fByS7oTIOX6m7on8h6T093SOn3df67o6v6n6n6n6o=' }),
|
let json = JSON.stringify({ username, password, deviceId: 'stub-device', publicKey: 'N6fByS7oTIOX6m7on8h6T093SOn3df67o6v6n6n6n6o=' });
|
||||||
try {
|
try {
|
||||||
// 1. Делаем реальный запрос к вашему API Gateway
|
// 1. Делаем реальный запрос к вашему API Gateway
|
||||||
const response = await fetch('https://api.dev.lendry.ru/auth/login', {
|
const response = await fetch('https://api.dev.lendry.ru/auth/login', {
|
||||||
|
|||||||
Reference in New Issue
Block a user