There was an error while loading. Please reload this page.
textContent
innerHtml
1 parent 27f80d0 commit 7cadbbeCopy full SHA for 7cadbbe
1 file changed
packages/devtools/src/runtime/auth/index.html
@@ -50,7 +50,7 @@
50
constel=document.getElementById('message')
51
52
if(!token){
53
-el.innerHTML='⚠️ No token found, please double check your URL.'
+el.textContent='⚠️ No token found, please double check your URL.'
54
el.style.color='#df513f'
55
}else{
56
fetch(`${location.pathname.split(/\//g).slice(0,-1).join('/')}/auth-verify?token=${token}`)
@@ -65,11 +65,11 @@
65
data: token,
66
})
67
68
-el.innerHTML='✅ Authorized! You can close this window now.'
+el.textContent='✅ Authorized! You can close this window now.'
69
window.close()
70
71
.catch((err)=>{
72
-el.innerHTML=`⚠️ Failed to authorize: ${err.message}`
+el.textContent=`⚠️ Failed to authorize: ${err.message}`
73
74
75
}
0 commit comments