diff options
author | Marc Coquand <marcc@fastmail.fr> | 2023-12-04 07:54:47 -0600 |
---|---|---|
committer | Marc Coquand <marcc@fastmail.fr> | 2023-12-04 07:54:47 -0600 |
commit | 47719821b568704739d42219076c2f7c02bf266b (patch) | |
tree | f442bce68dc83ef578c2a07d67c74679284dc3a0 | |
parent | b1193b9b8315478260a4fd358ed281bfc5927c9f (diff) | |
download | wormhole-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) | bin | 104776 -> 104776 bytes | |||
-rw-r--r-- | assets/pixeloid-sans.ttf (renamed from static/pixeloid-sans.ttf) | bin | 112668 -> 112668 bytes | |||
-rw-r--r-- | assets/rss.svg (renamed from static/rss.svg) | 0 | ||||
-rw-r--r-- | bin/main.ml | 2 |
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 Binary files differindex 9cf3288..9cf3288 100644 --- a/static/pixeloid-sans-bold.ttf +++ b/assets/pixeloid-sans-bold.ttf diff --git a/static/pixeloid-sans.ttf b/assets/pixeloid-sans.ttf Binary files differindex 5297cba..5297cba 100644 --- a/static/pixeloid-sans.ttf +++ b/assets/pixeloid-sans.ttf 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 |