Mercurial Hosting > disearch
view src/private/tools/config_save.txt.luan @ 14:80105b716a62
start bot
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 31 Oct 2023 23:56:48 -0600 |
parents | 43814e9f5802 |
children | 552d6f944acb |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local stringify = Luan.stringify or error() local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local Config = require "site:/lib/Config.luan" return function() local config = Http.request.parameters.config or error() Config.set(config) Io.stdout = Http.response.text_writer() %>saved<% end