mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +00:00
Add read_only to pict-rs.toml
This commit is contained in:
parent
3374fc669c
commit
81b0873a1e
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,13 @@
|
|||
# default: 0.0.0.0:8080
|
||||
address = '0.0.0.0:8080'
|
||||
|
||||
## Optional: whether to reject any operations that would change the state of pict-rs.
|
||||
# environment variable: PICTRS__SERVER__READ_ONLY
|
||||
# default: false
|
||||
#
|
||||
# This can be useful if you need to run a copy of pict-rs while performing maintenance.
|
||||
read_only = false
|
||||
|
||||
## Optional: shared secret for internal endpoints
|
||||
# environment variable: PICTRS__SERVER__API_KEY
|
||||
# default: empty
|
||||
|
|
Loading…
Reference in a new issue