Skip to content

Commit

Permalink
encuesta
Browse files Browse the repository at this point in the history
  • Loading branch information
jul1oCesar0 committed Nov 27, 2024
1 parent 24a75b5 commit b631eaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dev-dist/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ define(['./workbox-fde070c5'], (function (workbox) { 'use strict';
*/
workbox.precacheAndRoute([{
"url": "/offline.html",
"revision": "0.7scokde9ot8"
"revision": "0.ba6v9mtl7c"
}], {});
workbox.cleanupOutdatedCaches();
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("/offline.html"), {
Expand Down
2 changes: 1 addition & 1 deletion src/views/Admin/reportes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function ResultadosEncuestas() {
useEffect(() => {
const obtenerResultados = async () => {
try {
const response = await fetch("https://backopt-production.up.railway.app/resultados", {
const response = await fetch("http://localhost:3000/resultados", {
method: "GET",
headers: { "Content-Type": "application/json" },
});
Expand Down
4 changes: 2 additions & 2 deletions src/views/feedback/encuesta.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function EncuestaCitas() {
// Verificar si la encuesta ya fue completada
const verificarEncuesta = async () => {
try {
const response = await fetch(`https://backopt-production.up.railway.app/Encuesta/completada?idUsuario=${idUsuario}`, {
const response = await fetch(`http://localhost:3000/Encuesta/completada?idUsuario=${idUsuario}`, {
method: "GET",
headers: { "Content-Type": "application/json" },
});
Expand Down Expand Up @@ -88,7 +88,7 @@ function EncuestaCitas() {
const idUsuario = decodedToken.clienteId;

try {
const response = await fetch("https://backopt-production.up.railway.app/Encuesta", {
const response = await fetch("http://localhost:3000/Encuesta", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
Expand Down

0 comments on commit b631eaa

Please sign in to comment.