|
|
@ -174,7 +174,7 @@ class TPIContextProvider extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let testPath = ''
|
|
|
|
let testPath = ''
|
|
|
|
if (window.location.port == 3007) {
|
|
|
|
if (window.location.port == 3007) {
|
|
|
|
testPath = 'http://pre-newweb.educoder.net'
|
|
|
|
testPath = 'http://test-newweb.educoder.net'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// var url = `${testPath}/api/v1/games/${ game.identifier }/cost_time`
|
|
|
|
// var url = `${testPath}/api/v1/games/${ game.identifier }/cost_time`
|
|
|
|
var url = `${testPath}/api/tasks/${ game.identifier }/cost_time`
|
|
|
|
var url = `${testPath}/api/tasks/${ game.identifier }/cost_time`
|
|
|
|