Skip to content
Snippets Groups Projects
Commit bcebf574 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

node.sl-projects.com != localhost

parent 20bff531
No related branches found
No related tags found
No related merge requests found
......@@ -351,7 +351,7 @@ client.on('messageCreate', async message => {
// Maintenant on va appeler le serveur pour envoyer le message
var xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", "http://localhost:" + config.get("PORT_MSG_SRVMC") + "/discordMsg/" + encodeURIComponent(jsonEncodedMessage), true);
xmlHttp.open("GET", "http://node.sl-projects.com:" + config.get("PORT_MSG_SRVMC") + "/discordMsg/" + encodeURIComponent(jsonEncodedMessage), true);
xmlHttp.send();
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment