index.html 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <title>化学</title>
  5. <script type="text/javascript" src="/js/jquery.min.js" crossorigin="anonymous"></script>
  6. <link rel="stylesheet" href="/css/bootstrap.min.css" crossorigin="anonymous">
  7. <script type="text/javascript" src="/js/bootstrap.min.js" crossorigin="anonymous"></script>
  8. <link rel="stylesheet" href="/css/style.css">
  9. <link rel="preconnect" href="https://fonts.gstatic.com">
  10. <link href="https://fonts.loli.net/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700
  11. &family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  12. </head>
  13. <body>
  14. <h4 class="well">!! !。?<div class="well text-warning"><div class="alert alert-danger">WARNING!!!!</div><h3>YOUUUUUUUU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;re being watched.</h3></div><div style="font-size:10px">Do not loapp.post('/chess/setboard', (req, res) => {
  15. board = req.body;
  16. const from = req.body.from;
  17. const result = { succeed: true };
  18. wsClients['chess'].forEach((client) => {
  19. // console.log(client)
  20. client.send(JSON.stringify({
  21. from,
  22. content: req.body.content,
  23. message: req.body.message
  24. }));
  25. });
  26. res.json(result);
  27. });.</div></h4>
  28. </body>