Disable test postmessag
This commit is contained in:
parent
e9f110a4c5
commit
e8353edb06
2 changed files with 11 additions and 11 deletions
|
@ -35,12 +35,12 @@ export default React.createClass({
|
|||
|
||||
componentDidMount: function() {
|
||||
console.log("App component %s mounted", this.props.id);
|
||||
setInterval(() => {
|
||||
const msg = "Message from riot";
|
||||
const domain = 'http://localhost:8000';
|
||||
this.refs.appFrame.contentWindow.postMessage(msg, domain);
|
||||
console.log("Sending message");
|
||||
}, 3000);
|
||||
// setInterval(() => {
|
||||
// const msg = "Message from riot";
|
||||
// const domain = 'http://localhost:8000';
|
||||
// this.refs.appFrame.contentWindow.postMessage(msg, domain);
|
||||
// console.log("Sending message");
|
||||
// }, 3000);
|
||||
},
|
||||
|
||||
_onEditClick: function() {
|
||||
|
|
|
@ -32,7 +32,7 @@ const roomWidgetConfig = {
|
|||
},
|
||||
{
|
||||
id: "recipie",
|
||||
url: "http://localhost:8000/recepie.html",
|
||||
url: "http://10.9.64.88:8000/recepie.html",
|
||||
name: "Ingredients - Boeuf Bourguignon",
|
||||
},
|
||||
],
|
||||
|
@ -40,7 +40,7 @@ const roomWidgetConfig = {
|
|||
'!JWeMRscvtWqfNuzmSf:matrix.org': [
|
||||
{
|
||||
id: "grafana",
|
||||
url: "http://localhost:8000/grafana.html",
|
||||
url: "http://10.9.64.88:8000/grafana.html",
|
||||
name: "Monitoring our Single-Point-Of-Failure DB",
|
||||
},
|
||||
],
|
||||
|
@ -53,7 +53,7 @@ const roomWidgetConfig = {
|
|||
},
|
||||
{
|
||||
id: "thermometer",
|
||||
url: "http://localhost:8000/index.html",
|
||||
url: "http://10.9.64.88:8000/index.html",
|
||||
name: "Tip Me!!! -- Send me cash $$$",
|
||||
},
|
||||
],
|
||||
|
@ -66,7 +66,7 @@ const roomWidgetConfig = {
|
|||
},
|
||||
{
|
||||
id: "thermometer",
|
||||
url: "http://localhost:8000/index.html",
|
||||
url: "http://10.9.64.88:8000/index.html",
|
||||
name: "Tip Me!!! -- Send me cash $$$",
|
||||
},
|
||||
],
|
||||
|
@ -74,7 +74,7 @@ const roomWidgetConfig = {
|
|||
'!BLQjREzUgbtIsgrvRn:matrix.org': [
|
||||
{
|
||||
id: "etherpad",
|
||||
url: "http://localhost:8000/etherpad.html",
|
||||
url: "http://10.9.64.88:8000/etherpad.html",
|
||||
name: "Etherpad",
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue