Mercurial Hosting > luan
comparison website/src/init.luan @ 1929:31f006c64782
translation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 01 May 2025 18:31:05 -0600 |
parents | 50e570b598b2 |
children |
comparison
equal
deleted
inserted
replaced
1928:e16f38f4fdfc | 1929:31f006c64782 |
---|---|
1 local Luan = require "luan:Luan.luan" | |
2 local error = Luan.error | |
3 local Http = require "luan:http/Http.luan" | |
1 local Hosted = require "luan:host/Hosted.luan" | 4 local Hosted = require "luan:host/Hosted.luan" |
5 local Shared = require "site:/lib/Shared.luan" | |
6 local Logging = require "luan:logging/Logging.luan" | |
7 local logger = Logging.logger "init" | |
2 | 8 |
3 Hosted.set_https and Hosted.set_https(true) | 9 |
10 Hosted.set_https and Hosted.set_https( Http.domain ~= "www.me.luan.software" ) | |
4 | 11 |
5 return true | 12 return true |