Files
Isles-Of-Medievalkor/server/static/index.html

31 lines
956 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Medievalkor - Gather & Craft</title>
<link rel="stylesheet" href="/styles.css" />
<!-- IMPORTANT: all scripts are self-hosted (CSP 'self' friendly) -->
<!-- Socket.IO client served by your Node server at /socket.io/socket.io.js -->
<script src="/socket.io/socket.io.js"></script>
<!-- Local Phaser build: you must place phaser.min.js in server/static -->
<script src="/phaser.min.js"></script>
</head>
<body>
<div id="game"></div>
<!-- UI roots (each JS module owns its content) -->
<div id="ui-auth"></div>
<div id="ui-hud"></div>
<div id="ui-chat"></div>
<div id="ui-inventory"></div>
<div id="ui-crafting"></div>
<!-- ES module entrypoint; must come AFTER socket.io + Phaser so `io` and `Phaser` exist -->
<script type="module" src="/main.js"></script>
</body>
</html>