Software /
code /
prosody
File
plugins/mod_unknown.lua @ 11396:f6bb3b193277
mod_http: Allow setting the CORS credentials flag via :provides API
E.g.
module:provides("http", {
cors = {
credentials = true;
};
route = { ... };
});
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 30 Dec 2019 09:49:28 +0100 |
parent | 6003:28a90f5fea46 |
line wrap: on
line source
-- Unknown platform stub module:set_global(); -- TODO Do things that make sense if we don't know about the platform