Mercurial Hosting > luan
diff http/src/luan/modules/http/HttpServicer.java @ 693:ca169567ce07
module URIs must now include ".luan"
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 19 Apr 2016 15:54:11 -0600 |
parents | cdc70de628b5 |
children | b21d82ee5756 |
line wrap: on
line diff
--- a/http/src/luan/modules/http/HttpServicer.java Mon Apr 18 20:40:21 2016 -0600 +++ b/http/src/luan/modules/http/HttpServicer.java Tue Apr 19 15:54:11 2016 -0600 @@ -46,7 +46,7 @@ { LuanFunction fn; synchronized(luan) { - LuanTable module = (LuanTable)PackageLuan.require(luan,"luan:http/Http"); + LuanTable module = (LuanTable)PackageLuan.require(luan,"luan:http/Http.luan"); LuanTable per_session_pages = (LuanTable)module.rawGet("per_session_pages"); Object mod = PackageLuan.load(luan,modName); if( mod==null ) @@ -71,7 +71,7 @@ } } - LuanTable module = (LuanTable)PackageLuan.require(luan,"luan:http/Http"); + LuanTable module = (LuanTable)PackageLuan.require(luan,"luan:http/Http.luan"); // request LuanFunction newRequestFn = (LuanFunction)module.rawGet("new_request");