I am trying to send some text on basic of hosted url (where my build is deployed).but i am getting this error ReferenceError: location is not defined
hosted url