summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/sgi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-04-24 20:32:47 +0200
committerJo-Philipp Wich <jo@mein.io>2018-04-26 08:26:30 +0200
commit8459ec0ec8321a3a4e153f31398e1fe0a9306885 (patch)
tree41b9c4c3a2e43e6bb32cc23a756ca9457f688610 /modules/luci-base/luasrc/sgi
parent7d13ec601051bc78f8eb384dcd640c4a167b2556 (diff)
luci-base: add simple CORS handling to luci.dispatcher
Support a new boolean property `cors` which - if set to true - causes the dispatcher to positively answer CORS OPTIONS requests after authentication without actually running the dispatching target. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/sgi')
0 files changed, 0 insertions, 0 deletions