Mercurial Hosting > luan
diff web/src/luan/modules/web/Web_server.luan @ 299:a74559240b4f
simplify PackageLuan and remove IO loading param
git-svn-id: https://luan-java.googlecode.com/svn/trunk@300 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 16 Dec 2014 06:24:49 +0000 |
parents | 899253043270 |
children | 9fb523472035 |
line wrap: on
line diff
--- a/web/src/luan/modules/web/Web_server.luan Tue Dec 16 03:51:56 2014 +0000 +++ b/web/src/luan/modules/web/Web_server.luan Tue Dec 16 06:24:49 2014 +0000 @@ -73,8 +73,8 @@ function init(dir) dir = dir.gsub("/$","") -- remove trailing '/' if any Http.dir = dir - function Io.schemes.site(path,loading) - return Io.Uri( dir..path, loading ) + function Io.schemes.site(path) + return Io.Uri( dir..path ) end authentication_handler.setPassword(private_password) local base = dir