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

91
Vistas
JavaScript line added to HTML script bracket make error 500

i have an issue with a webpage that produce error 500 after adding the following line :

discordInvite.init({inviteCode: 'sK5R76jTmu'});

inside the script bracket :

<script src="./discordInvite.js"></script>
<script type="text/javascript">
discordInvite.init({inviteCode: 'sK5R76jTmu'});
discordInvite.render();
</script>

The page work fine without that line only and, if i juste type the commande in consol (chrome consol), the page render the results (typing the script in the order init + render).

For more details about the JS script, here is a link to the original git page : https://github.com/Aegis7Gaming/Discord-Invite-JS-HTML-CSS

and here is the page i'm trying to implement this on : http://www.ats.rf.gd/ (part of the script is in the end of the body)

thanks in advance for your help i can't understand the logic behind it.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I solved the issue by replacing

discordInvite.init({inviteCode: 'sK5R76jTmu'});

by

discordInvite.init({inviteCode: "sK5R76jTmu"});
about 4 years ago · Juan Pablo Isaza Denunciar
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