json_decoder -> json_encoder
This commit is contained in:
parent
11836583b1
commit
293b660ee9
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ plug Plug.Parsers,
|
|||
|
||||
plug PlugMicropub,
|
||||
handler: MyApp.MicropubHandler,
|
||||
json_decoder: Poison
|
||||
json_encoder: Poison
|
||||
```
|
||||
|
||||
### Forwarding
|
||||
|
@ -31,7 +31,7 @@ forward "/micropub",
|
|||
to: PlugMicropub,
|
||||
init_opts: [
|
||||
handler: MyApp.MicropubHandler,
|
||||
json_decoder: Poison
|
||||
json_encoder: Poison
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -41,7 +41,7 @@ forward "/micropub",
|
|||
forward "/micropub",
|
||||
PlugMicropub,
|
||||
handler: MyApp.MicropubHandler,
|
||||
json_decoder: Poison
|
||||
json_encoder: Poison
|
||||
```
|
||||
|
||||
[1]: https://micropub.rocks/
|
||||
|
|
Loading…
Reference in a new issue