comparison src/luan/modules/http/serve.luan @ 775:1a68fc55a80c

simplify dir structure
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 26 Aug 2016 14:36:40 -0600
parents http/src/luan/modules/http/serve.luan@ca169567ce07
children 1aa6dd74f3fc
comparison
equal deleted inserted replaced
774:3e30cf310e56 775:1a68fc55a80c
1 local Io = require "luan:Io.luan"
2 local Server = require "luan:http/Server.luan"
3
4 if #{...} ~= 1 then
5 Io.stderr.write "usage: luan luan:http/serve dir-URI\n"
6 return
7 end
8
9 Server.serve(...)