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

avec le bon port c'est mieux :)

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