mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
fix(github) athorize
This commit is contained in:
parent
9ee13cfbbf
commit
7feadb6207
2 changed files with 20 additions and 44 deletions
|
|
@ -3,12 +3,13 @@
|
|||
<head></head>
|
||||
<body>
|
||||
<script>
|
||||
(function(){
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
window.addEventListener('message', function(event) {
|
||||
event.source.postMessage(window.location.search, event.origin);
|
||||
});
|
||||
window.opener
|
||||
.CloudCmd
|
||||
.GitHub
|
||||
.authorize(window.location.search);
|
||||
})();
|
||||
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue