package cohttp_static_handler
Module Asset.What_to_serveSource
file takes a string representing the path to serve, and if the path is relative, the relative_to parameter controls how the relative path resolution is performed:
`Cwdis relative to the current working directory. It is the way most tooling you're familiar with handles relative paths. It's useful for things like command line tools or other tools that operate on various files in the tree.`Exeinstead looks for files relative to the executable'sdirname. This is useful for binaries that are always looking for files in the same (relative) location and is intended to be used for things like web servers that ship with static JavaScript and CSS assets.