colophon: tweak to mention plain text version as well
[~bandali/bndl.org] / serve.sh
CommitLineData
7b376474
AB
1#!/bin/sh
2port="${1:-8000}"
3python -m http.server "${port}" || python -m SimpleHTTPServer "${port}"