凎,https下不能访问http站点
This commit is contained in:
parent
1c934190b4
commit
690de202ae
@ -187,7 +187,7 @@
|
||||
}
|
||||
$.post('/nas/music/share.do',{file:file,isDir:isDir},function (json){
|
||||
if(json.code===0){
|
||||
var url="https://"+window.location.host+"/html/body/nas/music.html?share="+json.data.token
|
||||
var url="http://"+window.location.host+"/html/body/nas/music.html?share="+json.data.token
|
||||
layer.prompt({
|
||||
title:"分享链接",
|
||||
value:url
|
||||
@ -259,7 +259,7 @@
|
||||
$('#play_share').click(function (){
|
||||
$.post('/nas/music/share.do',{file:playNow},function (json){
|
||||
if(json.code===0){
|
||||
var url="https://"+window.location.host+"/html/body/nas/music.html?share="+json.data.token
|
||||
var url="http://"+window.location.host+"/html/body/nas/music.html?share="+json.data.token
|
||||
layer.prompt({
|
||||
title:"分享链接",
|
||||
value:url
|
||||
|
Loading…
Reference in New Issue
Block a user