Annotate
mod_readonly/README.markdown @ 3793:0d3926e49b55
mod_pubsub_post: Fix use of 'id' field in JSON object as pubsub item id
`data` here is the source string, so there's no `id` field.
Also only use the `id` field if it's a string.
author |
Kim Alvefur <zash@zash.se> |
date |
Wed, 01 Jan 2020 10:11:08 +0100 |
parent |
3437:ce5d1fa69ba3 |
rev |
line source |
3437
|
1 This module blocks configured queries that change server state.
|
|
2
|
|
3 E.g. to make vCard storage read-only:
|
|
4
|
|
5 ``` lua
|
|
6 readonly_stores = {
|
|
7 vcard = { "vcard-temp", "vCard" };
|
|
8 }
|
|
9 ```
|