Mercurial Hosting > luan
annotate website/src/init.luan @ 2043:849ce7f4cfc7 acme-tiny
fix variable visibility
| author | Violet7 |
|---|---|
| date | Sun, 09 Nov 2025 02:24:10 -0800 |
| parents | 31f006c64782 |
| children |
| rev | line source |
|---|---|
| 1929 | 1 local Luan = require "luan:Luan.luan" |
| 2 local error = Luan.error | |
| 3 local Http = require "luan:http/Http.luan" | |
| 1827 | 4 local Hosted = require "luan:host/Hosted.luan" |
| 1929 | 5 local Shared = require "site:/lib/Shared.luan" |
| 6 local Logging = require "luan:logging/Logging.luan" | |
| 7 local logger = Logging.logger "init" | |
| 1827 | 8 |
| 1929 | 9 |
| 10 Hosted.set_https and Hosted.set_https( Http.domain ~= "www.me.luan.software" ) | |
| 1827 | 11 |
| 12 return true |
