~kris/9p

krisyotam.net

ref: e60cf4fe0afb6a67a8806424c39080016d6da2e9 krisyotam.net/bin/contrib/rc-httpd/handlers/static-or-index -rwxr-xr-x 80 bytes
e60cf4fe — Kris Yotam chore: sync local state after restore (push updates, no pull) a month ago
                                                                                
1
2
3
4
5
#!/bin/rc
if(~ $PATH_INFO */)
	exec dir-index $params
if not
	exec serve-static