basic example with tiny_httpd

This commit is contained in:
Swrup 2025-02-06 01:28:39 +01:00
parent 619be59031
commit a67ff6acab
6 changed files with 72 additions and 28 deletions

15
example/index.html Normal file
View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- dune-site should have installed leaflet.css
you can use css_path.ml to get it's path -->
<link href="leaflet.css" rel="stylesheet">
<script type="text/javascript" src="script.js" defer="defer"></script>
</head>
<body>
<main>
<!-- don't forget to set a size! -->
<div id="map" style="height: 700px; width: 700px"></div>
</main>
</body>
</html>