testing rate limiting, making API changes
This commit is contained in:
@@ -62,7 +62,7 @@ const inlineStyle = {
|
||||
|
||||
showRSSFiles = (key) => {
|
||||
let RSSTorrentsRequest = {
|
||||
messageType: "rssTorrentsRequest",
|
||||
MessageType: "rssTorrentsRequest",
|
||||
Payload: [this.props.RSSList[key].RSSURL]
|
||||
}
|
||||
ws.send(JSON.stringify(RSSTorrentsRequest))
|
||||
@@ -85,7 +85,7 @@ const inlineStyle = {
|
||||
|
||||
deleteRSSFeed = (key) => {
|
||||
let RSSURLDelete = {
|
||||
messageType: "deleteRSSFeed",
|
||||
MessageType: "deleteRSSFeed",
|
||||
Payload: [this.props.RSSList[key]]
|
||||
}
|
||||
console.log("Deleting THIS", this.props.RSSList[key])
|
||||
|
@@ -105,12 +105,12 @@ const inlineStyle = {
|
||||
handleAddRSSFeed = () => {
|
||||
this.setState({ textValue: "Clear"}) //clearing out the text submitted
|
||||
let RSSURLSubmit = {
|
||||
messageType: "addRSSFeed",
|
||||
MessageType: "addRSSFeed",
|
||||
Payload: [this.state.textValue]
|
||||
}
|
||||
ws.send(JSON.stringify(RSSURLSubmit));
|
||||
let RSSRequest = {
|
||||
messageType: "rssFeedRequest",
|
||||
MessageType: "rssFeedRequest",
|
||||
}
|
||||
ws.send(JSON.stringify(RSSRequest)) //Immediatly request an update of the feed when you add a new URL
|
||||
}
|
||||
|
@@ -31,11 +31,9 @@ import * as actionTypes from '../../../store/actions';
|
||||
|
||||
const button = {
|
||||
fontSize: '60px',
|
||||
paddingRight: '20px',
|
||||
paddingLeft: '20px',
|
||||
marginLeft: '20px',
|
||||
}
|
||||
|
||||
|
||||
const inlineStyle = {
|
||||
display: 'inline-block',
|
||||
backdrop: 'static',
|
||||
@@ -46,7 +44,7 @@ const inlineStyle = {
|
||||
|
||||
componentDidMount () { //Immediatly request an update of the feed when loading app
|
||||
let RSSRequest = {
|
||||
messageType: "rssFeedRequest",
|
||||
MessageType: "rssFeedRequest",
|
||||
}
|
||||
ws.send(JSON.stringify(RSSRequest))
|
||||
|
||||
|
Reference in New Issue
Block a user