Mercurial Hosting > luan
diff src/luan/host/main.luan @ 1418:732b5de211fc
add Hosted.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 18 Oct 2019 22:29:46 -0600 |
parents | 5b8f76e26ab7 |
children | e48290f3d9fb |
line wrap: on
line diff
--- a/src/luan/host/main.luan Fri Oct 18 19:38:08 2019 -0600 +++ b/src/luan/host/main.luan Fri Oct 18 22:29:46 2019 -0600 @@ -11,10 +11,10 @@ local literal = String.literal or error() local lower = String.lower or error() local matches = String.matches or error() -local Hosting = require "luan:host/Hosting.luan" +local Hosted = require "luan:host/Hosted.luan" local Logging = require "luan:logging/Logging.luan" local logger = Logging.logger "main" -local WebHandler = Hosting.WebHandler or error() +local WebHandler = Hosted.WebHandler or error() local Util = require "classpath:luan/host/Util.luan" local read_password = Util.read_password or error() local set_password = Util.set_password or error() @@ -22,7 +22,7 @@ local check_postgres_password = Util.check_postgres_password or error() -local sites_dir = Io.schemes.file(Hosting.sites_dir) +local sites_dir = Io.schemes.file(Hosted.sites_dir) sites_dir.mkdir()