aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marcc@fastmail.fr>2023-12-04 07:54:47 -0600
committerMarc Coquand <marcc@fastmail.fr>2023-12-04 07:54:47 -0600
commit47719821b568704739d42219076c2f7c02bf266b (patch)
treef442bce68dc83ef578c2a07d67c74679284dc3a0
parentb1193b9b8315478260a4fd358ed281bfc5927c9f (diff)
downloadwormhole-47719821b568704739d42219076c2f7c02bf266b.tar.gz
wormhole-47719821b568704739d42219076c2f7c02bf266b.tar.bz2
wormhole-47719821b568704739d42219076c2f7c02bf266b.zip
Move static to assets
-rw-r--r--assets/main.css (renamed from static/main.css)0
-rw-r--r--assets/pixeloid-sans-bold.ttf (renamed from static/pixeloid-sans-bold.ttf)bin104776 -> 104776 bytes
-rw-r--r--assets/pixeloid-sans.ttf (renamed from static/pixeloid-sans.ttf)bin112668 -> 112668 bytes
-rw-r--r--assets/rss.svg (renamed from static/rss.svg)0
-rw-r--r--bin/main.ml2
5 files changed, 1 insertions, 1 deletions
diff --git a/static/main.css b/assets/main.css
index a2d750f..a2d750f 100644
--- a/static/main.css
+++ b/assets/main.css
diff --git a/static/pixeloid-sans-bold.ttf b/assets/pixeloid-sans-bold.ttf
index 9cf3288..9cf3288 100644
--- a/static/pixeloid-sans-bold.ttf
+++ b/assets/pixeloid-sans-bold.ttf
Binary files differ
diff --git a/static/pixeloid-sans.ttf b/assets/pixeloid-sans.ttf
index 5297cba..5297cba 100644
--- a/static/pixeloid-sans.ttf
+++ b/assets/pixeloid-sans.ttf
Binary files differ
diff --git a/static/rss.svg b/assets/rss.svg
index 6987da3..6987da3 100644
--- a/static/rss.svg
+++ b/assets/rss.svg
diff --git a/bin/main.ml b/bin/main.ml
index d3f283f..49469a3 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -84,7 +84,7 @@ let () =
Dream.run ~port ~interface @@ Dream.logger
@@ Dream.router
[
- Dream.get "/static/**" (Dream.static "./static");
+ Dream.get "/static/**" (Dream.static "./assets");
Dream.get "/feed.xml" (fun _ ->
let posts = Post.get_all () in
let maybe_latest_post = Post.latest_post () in