Sentiment URL is hardcoded to http://msbuildsentiment.azurewebsites.net/
See:
|
async getSentiment() { |
|
const response = await fetch('http://msbuildsentiment.azurewebsites.net/' + this.props.message); |
|
const text = await response.text() |
|
this.setState({sentiment: text}) |
|
} |
Sentiment URL is hardcoded to
http://msbuildsentiment.azurewebsites.net/See:
python-sample-tweeterapp/tweeter/src/components/Tweets.js
Lines 18 to 22 in f16507c