diff http/src/luan/modules/http/LuanHandler.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 a98812908fbc
children 2c41f2aec92f
line wrap: on
line diff
--- a/http/src/luan/modules/http/LuanHandler.java	Mon Apr 18 20:40:21 2016 -0600
+++ b/http/src/luan/modules/http/LuanHandler.java	Tue Apr 19 15:54:11 2016 -0600
@@ -31,7 +31,7 @@
 		if( target.endsWith("/") )
 			target += welcomeFile;
 		try {
-			if( !HttpServicer.service(luan,request,response,"site:"+target) )
+			if( !HttpServicer.service(luan,request,response,"site:"+target+".luan") )
 				return;
 		} catch(LuanException e) {
 			String err = e.getFullMessage();