Skip to content

Commit

Permalink
Everything Working Together
Browse files Browse the repository at this point in the history
  • Loading branch information
santanche committed May 11, 2019
1 parent a717d5e commit 5f95043
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/adonisjs/public/infra/bus.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class MessageBus {
extTopic = this._runningCase.runningId + "/" + topic;
}

const response = await fetch(MessageBus.serverAddress + "/message", {
const response = await fetch(DCCCommonServer.loggerAddressAPI + "message", {
method: "POST",
body: JSON.stringify({"topic": extTopic,
"payload": extMessage
Expand Down Expand Up @@ -174,7 +174,7 @@ class MessageBus {
MessageBus._stamp = 1;

MessageBus.int = new MessageBus(false);
MessageBus.ext = new MessageBus(false);
MessageBus.ext = new MessageBus(true);
/*
window.messageBus = {
int: new MessageBus(false),
Expand Down
3 changes: 2 additions & 1 deletion src/adonisjs/public/modules/capsule.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
<script src="../dccs/components/dcc-input.js"></script>
<script src="../dccs/components/dcc-report.js"></script>
</head>
<body onload="CapsuleManager.capsule.startCapsule()" style="width: 100%; height: {height}px; margin: 0px">
<body onload="CapsuleManager.capsule.startCapsule()"
style="width: 100%; height: {height}px; margin: 0px">
<script>PlayerManager.isCapsule = true;</script>
<div id="main-panel" class="sty-main-panel">
{knot}
Expand Down

0 comments on commit 5f95043

Please sign in to comment.