Mercurial Hosting > disearch
comparison src/index.html.luan @ 3:43814e9f5802
add config
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 21 Oct 2023 22:52:41 -0600 |
parents | d19b150ecb83 |
children | 62dd23f0b549 |
comparison
equal
deleted
inserted
replaced
2:5ae5fbce0d75 | 3:43814e9f5802 |
---|---|
4 local Http = require "luan:http/Http.luan" | 4 local Http = require "luan:http/Http.luan" |
5 local Shared = require "site:/lib/Shared.luan" | 5 local Shared = require "site:/lib/Shared.luan" |
6 local head = Shared.head or error() | 6 local head = Shared.head or error() |
7 local header = Shared.header or error() | 7 local header = Shared.header or error() |
8 local footer = Shared.footer or error() | 8 local footer = Shared.footer or error() |
9 local Config = require "site:/lib/Config.luan" | |
9 | 10 |
10 | 11 |
11 return function() | 12 return function() |
12 Io.stdout = Http.response.text_writer() | 13 Io.stdout = Http.response.text_writer() |
13 %> | 14 %> |