diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-01 03:22:49 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-01 03:22:49 -0400 |
commit | 17ed76ae77d91787504978cf11280c856ae7d9ca (patch) | |
tree | 3e28a511237a09f92db1cbf27a6551c8f6d37c27 /bin | |
parent | 77ca53e6e62677485e78df84abf9ba6a6b24146e (diff) | |
download | conf-17ed76ae77d91787504978cf11280c856ae7d9ca.tar.gz conf-17ed76ae77d91787504978cf11280c856ae7d9ca.zip |
simplify web script
core python is better than non-core perl
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/web | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1,8 +1,3 @@ #!/bin/bash -local port=$1 -if [[ -z $port ]]; then - plackup -MPlack::App::Directory -e'Plack::App::Directory->new' -else - plackup -MPlack::App::Directory -e'Plack::App::Directory->new' --port $port -fi +exec python -m http.server ${1:-8000} |