Mercurial Hosting > luan
comparison http/src/luan/modules/http/serve.luan @ 693:ca169567ce07
module URIs must now include ".luan"
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 19 Apr 2016 15:54:11 -0600 |
parents | 2b9bc97f0439 |
children |
comparison
equal
deleted
inserted
replaced
692:7bd97d642f37 | 693:ca169567ce07 |
---|---|
1 local Io = require "luan:Io" | 1 local Io = require "luan:Io.luan" |
2 local Server = require "luan:http/Server" | 2 local Server = require "luan:http/Server.luan" |
3 | 3 |
4 if #{...} ~= 1 then | 4 if #{...} ~= 1 then |
5 Io.stderr.write "usage: luan luan:http/serve dir-URI\n" | 5 Io.stderr.write "usage: luan luan:http/serve dir-URI\n" |
6 return | 6 return |
7 end | 7 end |