misskey login
This commit is contained in:
parent
50e11ec035
commit
fedb1ee858
|
@ -47,6 +47,9 @@ function ck() {
|
||||||
multiSelector(false)
|
multiSelector(false)
|
||||||
verck(ver, jp)
|
verck(ver, jp)
|
||||||
$('.stw').show()
|
$('.stw').show()
|
||||||
|
if (localStorage.getItem('tips')) {
|
||||||
|
tips(localStorage.getItem('tips'))
|
||||||
|
}
|
||||||
$('#something-wrong img').attr('src', '../../img/thinking.svg')
|
$('#something-wrong img').attr('src', '../../img/thinking.svg')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -506,7 +506,7 @@ function misskeyLogin(url) {
|
||||||
if (!url) {
|
if (!url) {
|
||||||
var url = $('#misskey-url').val()
|
var url = $('#misskey-url').val()
|
||||||
}
|
}
|
||||||
var start = 'http://' + url + '/api/app/create'
|
var start = 'https://' + url + '/api/app/create'
|
||||||
var httpreq = new XMLHttpRequest()
|
var httpreq = new XMLHttpRequest()
|
||||||
httpreq.open('POST', start, true)
|
httpreq.open('POST', start, true)
|
||||||
httpreq.setRequestHeader('Content-Type', 'application/json')
|
httpreq.setRequestHeader('Content-Type', 'application/json')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user