Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pkel committed Mar 20, 2021
1 parent eeff31d commit 5d9f4a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
- ux: stage changes in on-disk repo before pushing to remote git
- admin: allow configuration of remote/local git
- admin: read passwords from remote git + tool for writing these passwords
- fix: Return proper Etags as soon as opium supports Lwt.t etags
- speed: incremental import / do not re-encode images
- ux: confirmation before deletion of images/posts
- fix: Return proper Etags as soon as opium supports Lwt.t etags
https://github.com/rgrinberg/opium/issues/265

# Image strategy proposal

Expand Down
2 changes: 2 additions & 0 deletions src/brainstorm.ml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ let () =
and etag_of_fname _fname =
(* TODO: Open issue/PR regarding Lwt.t return type.
* Derive etag from file modification date
* https://github.com/rgrinberg/opium/issues/265
*)
Some etag
in Middleware.static_unix ~local_path ~etag_of_fname ())
Expand Down Expand Up @@ -628,6 +629,7 @@ let () =
and uri_prefix = Location.category category
and etag_of_fname fname =
(* TODO: open Issue/PR to for [string option Lwt.t] return value
* https://github.com/rgrinberg/opium/issues/265
match parse fname with
| None -> Lwt.return_none
| Some (key, file) ->
Expand Down

0 comments on commit 5d9f4a2

Please sign in to comment.