Commit 7290e29
committed
Fix content-type header for external-dns v0.20.0 compatibility
Strip charset parameter from Content-Type header in proxy to match
strict external-dns validation requirements. External-DNS expects
exactly 'application/external.dns.webhook+json;version=1' without
the charset=utf-8 that Express.js adds automatically.1 parent ac4c848 commit 7290e29
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
57 | 65 | | |
58 | 66 | | |
59 | 67 | | |
| |||
0 commit comments