Annotate
mod_readonly/README.md @ 6244:c71d8bc77c95
mod_rest: Skip unpacking error object when missing (thanks Martin)
Not every "http-error" event includes a .error field, so it may attempt
to unpack `nil`.
| author |
Kim Alvefur <zash@zash.se> |
| date |
Tue, 22 Apr 2025 09:40:20 +0200 |
| parent |
6003:fe081789f7b5 |
| 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 ```
|