Skip to content

Commit

Permalink
fix missing refresh token
Browse files Browse the repository at this point in the history
  • Loading branch information
sugoidogo committed Jul 15, 2023
1 parent 619e511 commit 4f8b97c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@ <h2>Assets</h2>
const name=config_select.value
localStorage.setItem(name,config)
const length=location.href.lastIndexOf('/')
const url=new URL(location.href.substring(0,length+1)+'overlay.html?name='+config_select.value)
const url=new URL(location.href.substring(0,length+1)+'overlay.html')
url.searchParams.append('name',config_select.value)
url.searchParams.append('refresh_token',tokens.refresh_token)
url.hash=JSON.stringify(config)
if(url.href.length>30000){
status.innerHTML="Too much data! That url probably won't work unless you use this page as a custom browser dock in OBS."
Expand Down

0 comments on commit 4f8b97c

Please sign in to comment.