annotate website/src/init.luan @ 2036:2740f8a9ba3a
acme-tiny tip
First test prototype (also convert spaces to tabs and remove *.orig files)
| author |
Violet7 |
| date |
Wed, 05 Nov 2025 21:49:39 -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
|