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 /bin | |
parent | b1193b9b8315478260a4fd358ed281bfc5927c9f (diff) | |
download | wormhole-47719821b568704739d42219076c2f7c02bf266b.tar.gz wormhole-47719821b568704739d42219076c2f7c02bf266b.tar.bz2 wormhole-47719821b568704739d42219076c2f7c02bf266b.zip |
Move static to assets
Diffstat (limited to 'bin')
-rw-r--r-- | bin/main.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |