Mercurial Hosting > luan
diff src/luan/host/main.luan @ 1182:0b55a1af5a44
add luan/host/jetty
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 20 Feb 2018 21:08:04 -0700 |
parents | 51d1342e25ad |
children | 5ba660381bd5 |
line wrap: on
line diff
--- a/src/luan/host/main.luan Tue Feb 20 19:50:30 2018 -0700 +++ b/src/luan/host/main.luan Tue Feb 20 21:08:04 2018 -0700 @@ -15,7 +15,7 @@ local Hosting = require "luan:host/Hosting.luan" local Logging = require "luan:logging/Logging.luan" local logger = Logging.logger "main" -local WebHandler = require "java:luan.host.WebHandler" +local WebHandler = Hosting.WebHandler or error() local Util = require "classpath:luan/host/Util.luan" local read_password = Util.read_password or error() local write_password = Util.write_password or error()