chiark / gitweb /
Serve /_/shapelib.html
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 12 Jan 2021 20:05:06 +0000 (20:05 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 12 Jan 2021 20:18:59 +0000 (20:18 +0000)
Nothing links to this yet.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile
daemon/main.rs

index 9ec0ba65448ab36ffe9252cc9e29f4aae24257e7..3b5fd1f633cc6c6194a5f579f220b190ce6b9c80 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,7 @@ TS_SRC_FILES= \
 LITFILES= LICENCE AGPLv3
 TXTFILES= CC-BY-SA-3.0 CC-BY-SA-4.0
 
-FILEASSETS = $(addprefix templates/, libre script.js \
+FILEASSETS = $(addprefix templates/, libre shapelib.html script.js \
                        $(LITFILES) $(TXTFILES)) \
                $(wildcard templates/*.tera)
 
index 9ab6f925a2e601d32f64f8ebd92271b05e4fd08e..4c34e74028bd321c468abf61ec931a89f1570326 100644 (file)
@@ -48,6 +48,7 @@ const RESOURCES : &[(&'static str, ResourceLocation, ContentType)] = &[
   ("script.js",    RL::Main,                       ContentType::JavaScript),
   ("LICENCE",      RL::Main,                       ContentType::Plain),
   ("libre",        RL::Main,                       ContentType::HTML),
+  ("shapelib.html", RL::Main,                      ContentType::HTML),
   ("AGPLv3",       RL::Main,                       ContentType::Plain),
   ("CC-BY-SA-3.0", RL::Main,                       ContentType::Plain),
   ("CC-BY-SA-4.0", RL::Main,                       ContentType::Plain),