Commit 9992ec08 authored by Jiawen Lyu's avatar Jiawen Lyu

change url

parent af2e5a7f
......@@ -12,7 +12,7 @@ export default WrappedComponent => {
}
componentDidMount() {
const fetchPromises = this.props.logins.map(login => {
return fetch(`https://cors-anywhere.herokuapp.com/https://webapplis.utc.fr/Edt_ent_rest/myedt/result/?login=${login}`)
return fetch(`https://webapplis.utc.fr/Edt_ent_rest/myedt/result/?login=${login}`)
.then(res => res.json())
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment