mirror of
https://github.com/imgyh/tiktok.git
synced 2025-04-05 07:03:03 +08:00
fix(web): 解决浏览器提示不安全问题
This commit is contained in:
parent
a140c2f3f8
commit
87b48aec06
@ -230,10 +230,8 @@ window.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
|
||||
function removeHttp(url) {
|
||||
console.log(url)
|
||||
if (typeof (url) == 'string') {
|
||||
url = url.replace(/^https?:/, '');
|
||||
}
|
||||
console.log(url)
|
||||
return url;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user