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

print url

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