Skip to content

Commit

Permalink
change url
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatinkersLatam committed Jun 16, 2019
1 parent 015949f commit 3010f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/Example.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class Example extends Component {
},
body: JSON.stringify(this.state.form)
}
let res = await fetch('http://localhost:8000/api/transfer', config)
let res = await fetch('https://walletlaravel.herokuapp.com/api/transfer', config)
let data = await res.json()

this.setState({
Expand All @@ -52,7 +52,7 @@ export default class Example extends Component {

async componentDidMount(){
try {
let res = await fetch('http://localhost:8000/api/wallet')
let res = await fetch('https://walletlaravel.herokuapp.com/api/wallet')
let data = await res.json()

this.setState({
Expand Down

0 comments on commit 3010f2f

Please sign in to comment.