File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/devtools/src/runtime/auth Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5050 const el = document . getElementById ( 'message' )
5151
5252 if ( ! token ) {
53- el . innerHTML = '⚠️ No token found, please double check your URL.'
53+ el . textContent = '⚠️ No token found, please double check your URL.'
5454 el . style . color = '#df513f'
5555 } else {
5656 fetch ( `${ location . pathname . split ( / \/ / g) . slice ( 0 , - 1 ) . join ( '/' ) } /auth-verify?token=${ token } ` )
6565 data : token ,
6666 } )
6767
68- el . innerHTML = '✅ Authorized! You can close this window now.'
68+ el . textContent = '✅ Authorized! You can close this window now.'
6969 window . close ( )
7070 } )
7171 . catch ( ( err ) => {
72- el . innerHTML = `⚠️ Failed to authorize: ${ err . message } `
72+ el . textContent = `⚠️ Failed to authorize: ${ err . message } `
7373 el . style . color = '#df513f'
7474 } )
7575 }
You can’t perform that action at this time.
0 commit comments