Ya estoy inscrito ¿Todavía no tienes acceso? Nuestros Planes
Ya estoy inscrito ¿Todavía no tienes acceso? Nuestros Planes
Solucionado (ver solución)
Solucionado
(ver solución)
1
respuesta

[Duda] duda

Hola no me aparece en el index las top 5 series?? que puede ser??, hice lo mismo del video en Postman aparece, pero no en el index?? ayuda porfis, tengo los dos archivos dentro de una carpeta, se me habrá olvidado algo para conectarlos? Rapise injected JS loaded. Connecting to background.js as port: {"name":"rapise-recorder","id":"c058cd42-d8db-2129-97c9-fc315258f467","url":"http://127.0.0.1:5500/index.html"} index.html:1 Access to fetch at 'http://localhost:8080/series/top5' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Understand this error localhost:8080/series/top5:1

   Failed to load resource: net::ERR_FAILEDUnderstand this error

getDatos.js:8 Error al ingresar al endpoint /series/top5: TypeError: Failed to fetch at getDatos (getDatos.js:5:12) at index.js:78:33 at Array.map () at generaSeries (index.js:78:22) at index.js:73:1 (anonymous) @ getDatos.js:8Understand this error index.html:1 Access to fetch at 'http://localhost:8080/series/lanzamientos' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Understand this error localhost:8080/series/lanzamientos:1

   Failed to load resource: net::ERR_FAILEDUnderstand this error

getDatos.js:8 Error al ingresar al endpoint /series/top5: TypeError: Failed to fetch at getDatos (getDatos.js:5:12) at index.js:78:33 at Array.map () at generaSeries (index.js:78:22) at index.js:73:1 (anonymous) @ getDatos.js:8Understand this error index.html:1 Access to fetch at 'http://localhost:8080/series' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Understand this error localhost:8080/series:1

   Failed to load resource: net::ERR_FAILEDUnderstand this error

getDatos.js:8 Error al ingresar al endpoint /series/top5: TypeError: Failed to fetch at getDatos (getDatos.js:5:12) at index.js:78:33 at Array.map () at generaSeries (index.js:78:22) at index.js:73:1 (anonymous) @ getDatos.js:8Understand this error index.js:37 Ocurrio un error al cargar los datos. tratarConErrores @ index.js:37Understand this error

me sale esto al inspeccionar en la consola??
1 respuesta
solución!

hola ya lo solucioné tenía que cambiar .allowedOrigins("http://127.0.0.1:5500") , 5501 por 5500 que estoy ocupando yo