From: Ian Jackson Date: Tue, 12 Jan 2021 20:05:06 +0000 (+0000) Subject: Serve /_/shapelib.html X-Git-Tag: otter-0.3.0~58 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a5a04fdd1042f6ce9c1bcbaff667f0efa5c103bb;p=otter.git Serve /_/shapelib.html Nothing links to this yet. Signed-off-by: Ian Jackson --- diff --git a/Makefile b/Makefile index 9ec0ba65..3b5fd1f6 100644 --- 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) diff --git a/daemon/main.rs b/daemon/main.rs index 9ab6f925..4c34e740 100644 --- a/daemon/main.rs +++ b/daemon/main.rs @@ -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),