Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Fixed many bugs and added many features #5

Merged
merged 9 commits into from
Jun 13, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix for oauth redirection
  • Loading branch information
aminmarashi committed Jun 13, 2016
commit c38286bf31677aefa526c5ec27fe541f9b7ef47d
2 changes: 1 addition & 1 deletion src/common/appId.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var AppId = {
});
if (tokenList.length) {
utils.addAllTokens(tokenList, function(){
document.location.pathname = '/bot.html';
document.location.pathname += '/bot.html';
});
} else {
if (done) {
Expand Down
2 changes: 1 addition & 1 deletion www/bot.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h4>
</div>

<script src="js/blockly/blockly.js"></script>
<script src="js/bot-a747334679.min.js"></script>
<script src="js/bot-ca131ef989.min.js"></script>
</body>
</html>

2 changes: 1 addition & 1 deletion www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ <h1>Binary Bot</h1>
</div>
<a href="https://github.com/binary-com/binary-bot" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/652c5b9acfaddf3a9c326fa6bde407b87f7be0f4/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67"
alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png"></a>
<script src="js/index-f44043f3e8.min.js"></script></body>
<script src="js/index-95ccd284a5.min.js"></script></body>

</html>
Original file line number Diff line number Diff line change
Expand Up @@ -13799,7 +13799,7 @@
var utils = __webpack_require__(11);

var AppId = {
app_id: ( document.location.port === '8080' ) ? 1168 : 1169,
app_id: ( document.location.port === '8080' ) ? 1168 : ( document.location.hostname.indexOf('github.io') >= 0 ) ? 1180 : 1169,
redirectOauth: function oauthLogin(){
document.location = 'https://oauth.binary.com/oauth2/authorize?app_id=' + this.app_id + '&l=' + window.lang.toUpperCase();
},
Expand Down Expand Up @@ -37969,4 +37969,4 @@

/***/ }
/******/ ]);
//# sourceMappingURL=bot-795ddc48af1e9f340123.map
//# sourceMappingURL=bot-1047f528ed06d3396b71.map
1 change: 1 addition & 0 deletions www/js/bot-1047f528ed06d3396b71.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion www/js/bot-795ddc48af1e9f340123.map

This file was deleted.

20 changes: 10 additions & 10 deletions www/js/bot-a747334679.min.js → www/js/bot-ca131ef989.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13770,7 +13770,7 @@
var utils = __webpack_require__(11);

var AppId = {
app_id: ( document.location.port === '8080' ) ? 1168 : 1169,
app_id: ( document.location.port === '8080' ) ? 1168 : ( document.location.hostname.indexOf('github.io') >= 0 ) ? 1180 : 1169,
redirectOauth: function oauthLogin(){
document.location = 'https://oauth.binary.com/oauth2/authorize?app_id=' + this.app_id + '&l=' + window.lang.toUpperCase();
},
Expand Down Expand Up @@ -23627,4 +23627,4 @@

/***/ }
/******/ ]);
//# sourceMappingURL=index-e893397923df53669838.map
//# sourceMappingURL=index-48ae81c2856719302744.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy