package cohttp_static_handler
A library for easily creating a cohttp handler for static files
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=be86c64e3a5c2c875aafdd27a7d1dd574784d964866c6084c10f931377c164ac
CHANGES.md.html
Release v0.17.0
Asset.file
andAsset.file_serve_as
now have arelative_to
parameter for resolving relative paths with options:Cwd
(current working directory) orExe
(executable's directory).Added an optional
metadata
parameter to allow adding additional meta tags to the page.
Release v0.16.0
Remove
js_handler
andembedded_js_handler
fromCohttp_static_handler.Single_page_handler
These functions were frequently misused and didn't allow specifying the load order of javascript on the page. Please use [create_handler] directly
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>