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,
|
plug PlugMicropub,
|
||||||
handler: MyApp.MicropubHandler,
|
handler: MyApp.MicropubHandler,
|
||||||
json_decoder: Poison
|
json_encoder: Poison
|
||||||
```
|
```
|
||||||
|
|
||||||
### Forwarding
|
### Forwarding
|
||||||
|
@ -31,7 +31,7 @@ forward "/micropub",
|
||||||
to: PlugMicropub,
|
to: PlugMicropub,
|
||||||
init_opts: [
|
init_opts: [
|
||||||
handler: MyApp.MicropubHandler,
|
handler: MyApp.MicropubHandler,
|
||||||
json_decoder: Poison
|
json_encoder: Poison
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ forward "/micropub",
|
||||||
forward "/micropub",
|
forward "/micropub",
|
||||||
PlugMicropub,
|
PlugMicropub,
|
||||||
handler: MyApp.MicropubHandler,
|
handler: MyApp.MicropubHandler,
|
||||||
json_decoder: Poison
|
json_encoder: Poison
|
||||||
```
|
```
|
||||||
|
|
||||||
[1]: https://micropub.rocks/
|
[1]: https://micropub.rocks/
|
||||||
|
|
Loading…
Reference in a new issue