diff src/index.html.luan @ 30:f4708943f29e

add heartbeat
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 09 Nov 2024 19:17:21 -0700
parents 809193524522
children e2b7f6393dab
line wrap: on
line diff
--- a/src/index.html.luan	Wed Nov 06 23:05:45 2024 -0700
+++ b/src/index.html.luan	Sat Nov 09 19:17:21 2024 -0700
@@ -138,6 +138,7 @@
 	end
 %>
 			setUserEventSource(<%=user.id%>);
+			lastUpdate = <%=user.last_update()%>;
 		</script>
 	</body>
 </html>