'use strict'; /* * Minimal, safe static file server for public/. * - GET / HEAD only (405 otherwise), never serves anything outside the root (also not via symlinks) * - rejects "..", %2e%2e, %2f, %5c, backslashes, NUL and control characters (400), dotfiles (404) * - ETag / If-None-Match / Last-Modified (304) with Cache-Control: no-cache * - single-range requests (206): iOS Safari will not play