Skip to content

Commit

Permalink
link de db
Browse files Browse the repository at this point in the history
  • Loading branch information
Nailan-Nobre committed Jan 16, 2025
1 parent fad3362 commit 412ccde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async function loginUsuario() {

try {
// Requisição ao servidor para obter todos os usuários
const resposta = await fetch('https://back-end-6der.onrender.com/users', {
const resposta = await fetch('https://back-end-1-d4fx.onrender.com/users', {
method: 'GET',
headers: {
'Content-Type': 'application/json'
Expand Down
2 changes: 1 addition & 1 deletion js/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function adicionarUsuario() {
password: campoSenha.value
}

const resposta = await fetch('https://back-end-6der.onrender.com/users', {
const resposta = await fetch('https://back-end-1-d4fx.onrender.com/users', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand Down

0 comments on commit 412ccde

Please sign in to comment.