Skip to content

Commit

Permalink
Merge pull request #15 from eco-stake/force-allow-origin
Browse files Browse the repository at this point in the history
Force allow origin *
  • Loading branch information
tombeynon authored Jun 3, 2022
2 parents b23529a + dcd0cd9 commit abf6a7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proxy/proxyController.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ const ProxyController = (client, registry) => {
followRedirects: true,
agent: url.protocol === 'https:' ? httpsAgent : httpAgent,
headers: {
'accept-encoding': '*;q=1,gzip=0'
'accept-encoding': '*;q=1,gzip=0',
'access-control-allow-origin': '*'
}
}
ctx.req.oldPath = ctx.req.url
Expand Down

0 comments on commit abf6a7a

Please sign in to comment.