v3.10.3: feat(#340) fix pass-through headers for proxying via nginx. add second proxy example.
This commit is contained in:
@@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user