Skip to content

Commit

Permalink
Add additional IP address header
Browse files Browse the repository at this point in the history
  • Loading branch information
bookernath committed Sep 20, 2024
1 parent ce7b037 commit 482ce1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/stupid-drinks-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

Add additional IP address header
1 change: 1 addition & 0 deletions core/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const client = createClient({
return {
headers: {
'X-Forwarded-For': ipAddress,
'True-Client-IP': ipAddress,
},
};
}
Expand Down

0 comments on commit 482ce1b

Please sign in to comment.