update gdrive client id

This commit is contained in:
Ilya Kreymer
2020-05-04 12:51:05 -07:00
parent 3b31490479
commit 19de694d73
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -610,7 +610,7 @@ const ae=new WeakMap,ne=v(e=>t=>{if(!(t instanceof P))throw new Error("unsafeHTM
</button>
`:O`
<p>Connecting to Google Drive...</p>
`}`}script(){const e=document.createElement("script");return e.onload=()=>this.onLoad(),e.src="https://apis.google.com/js/platform.js",e}gauth(e,t){gapi.load("auth2",()=>{gapi.auth2.authorize({client_id:"758792702348-kokjbpv1leqid7ac7tjq7pbp37cg05kq.apps.googleusercontent.com",scope:"https://www.googleapis.com/auth/drive.file",prompt:e},t)})}}class He extends ie{constructor(){super(),this.view="replay",this.replayTS=""}static get properties(){return{replayUrl:{type:String},replayTS:{type:String},source:{type:String},paramString:{type:String}}}firstUpdated(){this.paramString=new URLSearchParams({replayUrl:this.replayUrl,replayTS:this.replayTS,source:this.source,view:this.view})}render(){return O`
`}`}script(){const e=document.createElement("script");return e.onload=()=>this.onLoad(),e.src="https://apis.google.com/js/platform.js",e}gauth(e,t){gapi.load("auth2",()=>{gapi.auth2.authorize({client_id:"160798412227-tko4c82uopud11q105b2lvbogsj77hlg.apps.googleusercontent.com",scope:"https://www.googleapis.com/auth/drive.file",prompt:e},t)})}}class He extends ie{constructor(){super(),this.view="replay",this.replayTS=""}static get properties(){return{replayUrl:{type:String},replayTS:{type:String},source:{type:String},paramString:{type:String}}}firstUpdated(){this.paramString=new URLSearchParams({replayUrl:this.replayUrl,replayTS:this.replayTS,source:this.source,view:this.view})}render(){return O`
<iframe src="http://localhost:9990/?${this.paramString}"></iframe>
`}}class Fe extends ie{constructor(){super(),this.size="1.1em"}static get properties(){return{svg:{type:String},size:{type:String}}}static get styles(){return ee`
:host {