2020-12-23 07:02:02 +01:00
|
|
|
--[[
|
|
|
|
Holds configuration.
|
|
|
|
A one-stop-shop for runtime configuration
|
|
|
|
]]
|
2023-03-12 17:24:22 +01:00
|
|
|
local config = {
|
2021-01-04 03:48:29 +01:00
|
|
|
domain = "<{get domain}>",
|
2020-12-20 09:16:23 +01:00
|
|
|
production = false,
|
2021-08-27 03:06:24 +02:00
|
|
|
legacy_url_cutoff = 144,
|
2023-03-12 17:24:22 +01:00
|
|
|
approot = "<{get approot}>"
|
2020-12-20 09:16:23 +01:00
|
|
|
}
|
2023-03-12 17:24:22 +01:00
|
|
|
config.db = config.approot .. "data/posts.db"
|
|
|
|
|
|
|
|
return config
|