cosmos / faucet

Token faucet web app for the Cosmos Hub and Gaia testnets.

Home Page:https://faucetcosmos.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Faucet CORS Error

adam-hanna opened this issue · comments

Summary of Bug

Faucet is throwing a CORS error?

xhr.js:178 OPTIONS https://8lge7g5zw2.execute-api.us-east-1.amazonaws.com/prod/v1/claim 500
(anonymous) @ xhr.js:178
e.exports @ xhr.js:12
e.exports @ dispatchRequest.js:59
Promise.then (async)
o.request @ Axios.js:51
o.(anonymous function) @ Axios.js:71
(anonymous) @ bind.js:9
(anonymous) @ Faucet.vue:84
L @ runtime.js:62
(anonymous) @ runtime.js:296
e.(anonymous function) @ runtime.js:114
s @ asyncToGenerator.js:10
o @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:5
(anonymous) @ Faucet.vue:65
submit @ Faucet.vue?63b7:1
t @ vue.runtime.esm.js:2023
e._withTask.e._withTask @ vue.runtime.esm.js:1822
faucet.cosmos.network/:1 Access to XMLHttpRequest at 'https://8lge7g5zw2.execute-api.us-east-1.amazonaws.com/prod/v1/claim' from origin 'https://faucet.cosmos.network' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

image

Steps to Reproduce

  1. https://faucet.cosmos.network/
  2. Click "I'm not a robot"
  3. Enter valid public address
  4. ???
  5. Profit

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned