This commit is contained in:
Robin Appelman 2023-12-26 18:35:24 +01:00
commit ecb7d5720b
9 changed files with 1343 additions and 49 deletions

24
src/server/index.html Normal file
View file

@ -0,0 +1,24 @@
<html>
<head>
<title>TF2 map converter</title>
</head>
<body>
<h1>TF2 map converter</h1>
<p>
Download <span title="that is available on serveme.tf">any<sup>*</sup></span> tf2 map as gltf/glb
</p>
<h2>Usage</h2>
<p>
Simply point your browser (or any other http client) at <code>/gltf/&lt;map name&gt;.glb</code> to download the map
in glb format.
</p>
<p>
For example: <a href="/gltf/cp_steel_f12.glb">/gltf/cp_steel_f12.glb</a>
</p>
<aside>
Note that map conversion can take 10 to 30 seconds, once a map has been converted once it is cached for subsequent requests.
</aside>
</body>
</html>