deployment-talks/chat-app/static/index.html

21 lines
385 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>A Dumb Chat Application</title>
</head>
<body>
<script src="https://unpkg.com/mithril/mithril.js"></script>
<script src="/js/chat-service.js"></script>
<script>
// start the chat web socket
initChatService();
// render the application
const root = document.body;
m.render(root, m("h1", "A Stupid Chat"));
</script>
</body>
</html>