v3.10.3: feat(#340) fix pass-through headers for proxying via nginx. add second proxy example.

This commit is contained in:
tiagosiebler
2024-05-07 13:10:12 +01:00
parent 00261a2380
commit bd10bd9e63
6 changed files with 68 additions and 3 deletions

View File

@@ -132,6 +132,7 @@ export default abstract class BaseRestClient {
// custom request options based on axios specs - see: https://github.com/axios/axios#request-config
...networkOptions,
headers: {
...networkOptions.headers,
'x-referer': APIID,
},
};