Mercurial Hosting > nabble
diff conf/Init.luan @ 2:abe0694e9849
replace local_dir with home_dir
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 25 Mar 2019 13:59:13 -0600 |
parents | 7ecd1a4ef557 |
children | c4ed473452d4 |
line wrap: on
line diff
--- a/conf/Init.luan Thu Mar 21 19:27:36 2019 -0600 +++ b/conf/Init.luan Mon Mar 25 13:59:13 2019 -0600 @@ -1,6 +1,8 @@ java() local Luan = require "luan:Luan.luan" local error = Luan.error +local Io = require "luan:Io.luan" +local uri = Io.uri or error() local MailHome = require "java:fschmidt.util.mail.MailHome" local System = require "java:java.lang.System" local Logging = require "luan:logging/Logging.luan" @@ -20,7 +22,7 @@ Init.poolSize = 130 -Init.local_dir = "local/" +Init.home_dir = uri( uri("classpath:nabble").to_string() ).parent().parent().to_string().."/" -- for now local smtp = MailHome.getSmtpServer("mail.smtp2go.com","dev@singlesushi.com","FB4dating")