On this page:
make-static-dispatcher

27 Static🔗

 (require koyo/static) package: koyo-lib

This module provides utilities for building static file dispatchers.

procedure

(make-static-dispatcher root-path [root])  dispatcher/c

  root-path : path-string?
  root : non-empty-string? = "/static/"
Returns a dispatcher that serves files from root-path under the root URI.