Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #13 from uniquelyparticular/05252019
Browse files Browse the repository at this point in the history
Fix: README fixes
  • Loading branch information
agrohs authored May 25, 2019
2 parents 5c27825 + e4816dc commit ece2df8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Built with [Micro](https://github.com/zeit/micro)! 🤩
Create a `.env` at the project root with the following credentials:

```dosini
PROXY_ORIGIN_WHITELIST=localhost,*.zendesk.com,*.myshopify.com,*.now.sh
PROXY_DESTINATION_WHITELIST=api.stripe.com,api.goshippo.com,api.shipengine.com,api.moltin.com,*.myshopify.com,*.salesforce.com,*.demandware.net
PROXY_ORIGIN_WHITELIST=*.mysite.com,*.mycrmplaform.io,*.mycommerceplaform.com,*.now.sh
PROXY_DESTINATION_WHITELIST=api.mygateway.com,api.myshippingplatform.com,api.mycommerceplaform.com,*.whatever.net
```

`PROXY_ORIGIN_WHITELIST` is a comma separated list of patterns to match against the incoming requests 'Origin' header (ex. `localhost,*.myawesomesite.com,*.now.sh`)
Expand Down Expand Up @@ -91,7 +91,7 @@ $.ajax({
beforeSend: xhr => {
xhr.setRequestHeader(
'X-Shopify-Access-Token',
'1XXXXXxxxxxXXXXXxxxxxXXXXXxxxxx1'
'{{setting.something_secure}}'
)
}
})
Expand Down

0 comments on commit ece2df8

Please sign in to comment.