mirror of
https://github.com/Kenshin/simpread.git
synced 2026-02-01 15:41:29 +00:00
Update srplug path.
This commit is contained in:
parent
ca75b728d3
commit
83b570acfe
@ -28,7 +28,7 @@ function generateID( type ) {
|
||||
* @param {string} url
|
||||
*/
|
||||
function install( id, url, callback ) {
|
||||
url = id ? `http://simpread.ksria.cn/plugins/${id}.srplug` : url;
|
||||
url = id ? `http://simpread.ksria.cn/plugins/srplug/${id}.srplug` : url;
|
||||
url = url + `?${+new Date()}`;
|
||||
console.log( "install url is", url )
|
||||
$.ajax({ url, dataType: "json" })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user