Software /
code /
prosody
Diff
core/configmanager.lua @ 11397:27a22a1f141c
mod_http: Allow modifying CORS header list via :provides API
E.g.
module:provides("http", {
cors = {
headers = {
Accept = true;
Expect = false;
};
};
route = { ... };
});
Case might be weird.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 30 Dec 2019 09:50:59 +0100 |
parent | 10375:3d0adbc74c39 |
child | 12083:ec21e379c145 |