Mercurial Hosting > disearch
comparison src/index.html.luan @ 11:62dd23f0b549
start add server
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 29 Oct 2023 22:39:31 -0600 |
parents | 43814e9f5802 |
children | 74277b56ac3c |
comparison
equal
deleted
inserted
replaced
10:ae9ebeb1c246 | 11:62dd23f0b549 |
---|---|
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" | |
10 | 9 |
11 | 10 |
12 return function() | 11 return function() |
13 Io.stdout = Http.response.text_writer() | 12 Io.stdout = Http.response.text_writer() |
14 %> | 13 %> |