Merge pull request #3048 from urbit/mp/spa-debug-debug

dbug: init new channel on start
This commit is contained in:
matildepark 2020-06-24 12:01:20 -04:00 committed by GitHub
commit 77925b06be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -12,8 +12,8 @@
<body class="w-100 h-100"> <body class="w-100 h-100">
<div id="root" class="w-100 h-100"> <div id="root" class="w-100 h-100">
</div> </div>
<script src="/~channel/channel.js"></script> <script src="/~landscape/js/channel.js"></script>
<script src="/~modulo/session.js"></script> <script src="/~landscape/js/session.js"></script>
<script src="/~debug/js/index.js"></script> <script src="/~debug/js/index.js"></script>
</body> </body>

View File

@ -9,6 +9,7 @@ api.setAuthTokens({
ship: window.ship ship: window.ship
}); });
window.urb = new window.channel();
subscription.start(); subscription.start();
ReactDOM.render(( ReactDOM.render((