annotate website/src/init.luan @ 2005:fe45d2c967f1
set_https only in init.luan
author |
Franklin Schmidt <fschmidt@gmail.com> |
date |
Mon, 28 Jul 2025 15:41:29 -0600 |
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
|