Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

146
Vistas
Running script on github page using jekyll

I have a problem having my origin version running a script I have in the index.html file.

The script runs fine locally if I have this in the index.html file:

<script  src="{{ base.url | prepend: site.url }}/assets/js/script.js"></script>

If I have that previous code and I try to run on github, I get this:

wrong github address

(Wrong github address)

If I change the code in the index file to this:

<script  src="{{ site.github.repository_url }}/tree/gh-pages/assets/js/script.js"></script>

Then the error is gone but the script still doesn't run and I get this:

Cross-Origin Read Blocking (CORB) blocked cross-origin response https://github.com/montythepython/mixedmessages/blob/gh-pages/assets/js/script.js with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

right github address? but with an added "blob"

(Right github address? But with an added "blob")

Which I am not sure what it means. Is it reading the script as a text file and because of it the script doesn't actually run?

Any help, very much appreciated The project is here: https://github.com/montythepython/mixedmessages

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda