node listener

master
louisa 2 years ago
parent 50cd517144
commit 3d713d30f4

@ -9,7 +9,15 @@
<link href="style.css" rel="stylesheet">
<!-- <script src="js/p5.js"></script>
<script src="js/p5.geolocation.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.4.0/socket.io.js"></script>
<script>
const socket = io();
// Listen for custom events from the server
socket.on('node-data', function(data) {
console.log(data); // Log the received data to the browser's console
});
</script>
<script src='socket.io/socket.io.js'></script>
<meta property="og:title" content="868 MHz" />
<meta property="og:description" content="868 MHz is a hybrid reality game running on the same standardized frequency as the LoRa gateways of The Things Network. Chase the electric currents of the asphalt to locate gateways and encounter a being which has nested itself beneath the city streets, all the way down the power lines woven amidst its whirring epicenter." />

Loading…
Cancel
Save