|
@@ -2374,9 +2374,8 @@ function strFilter($str){
|
|
|
*/
|
|
|
function filterHtmlUrl($html){
|
|
|
$ip = request()->domain();
|
|
|
- echo "http://{$ip}:443";
|
|
|
- $html = str_replace("http://{$ip}:443", '', $html);
|
|
|
- $html = str_replace("http://{$ip}", '', $html);
|
|
|
+ $html = str_replace("{$ip}:443", '', $html);
|
|
|
+ $html = str_replace("{$ip}", '', $html);
|
|
|
$html = str_replace(["http://","https://"],["//","//"], $html);
|
|
|
return $html;
|
|
|
}
|