title: Problem to obtain (with javascript) json (publish with nodejs) from url
body: <p>I want obtain json from this url : <a href="http://51.77.148.156:3000/prismastats" rel="nofollow noreferrer">http://51.77.148.156:3000/prismastats</a><br> to disp this on this url : <a href="https://prisma.hug0.xyz/test" rel="nofollow noreferrer">https://prisma.hug0.xyz/test</a> (source code here : view-source:<a href="https://prisma.hug0.xyz/test" rel="nofollow noreferrer">https://prisma.hug0.xyz/test</a>)
  But as you can see, nothing is displayed ...</p>
  
  <p>I read almost every topic about my problem but nothing works ...
  So I thought my code was invalid. To find out I wanted to change the link of json. So I replaced my url with this one (<a href="http://time.jsontest.com/" rel="nofollow noreferrer">http://time.jsontest.com/</a>) and it worked (<a href="https://prisma.hug0.xyz/test2" rel="nofollow noreferrer">https://prisma.hug0.xyz/test2</a>).</p>
  
  <p>There is my code : </p>
  
  <pre class="lang-js prettyprint-override"><code>var url = 'http://51.77.148.156:3000/prismastats';
      $(".mypanel").html(url);
      $.get(url, function(data) {
          $(".stats").html(data);
          var text = `Users: ${data.users}&lt;br&gt;Servers: ${data.servers}&lt;br&gt;Channels: ${data.channels}`;
          $(".stats").html(text);
      })
  </code></pre>
  
  <p>I do not understand why my json is not valid ... Moreover here is the code which publishes the json (in a nodejs app):</p>
  
  <pre class="lang-js prettyprint-override"><code>apistats.listen(3000, () =&gt; {
      console.log("Server running on port 3000");
  });
  const express = require('express');
  const apistats = express();
  apistats.get("/prismastats", (req, res, next) =&gt; {
      jsonstats = {users : client.users.size.toLocaleString(),servers : client.guilds.size.toLocaleString(),channels : client.channels.size.toLocaleString()};
      res.send(jsonstats);
  });
  </code></pre>
  
  <p>Thanks for your help !</p>