소스 검색

Merge pull request #1027 from Gecka-Apps/fix-maps_noapi

Fix service: Google Maps NoAPI (maps_noapi)
Amauri CHAMPEAUX 2 년 전
부모
커밋
e492c7053d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tarteaucitron.services.js

+ 1 - 1
tarteaucitron.services.js

@@ -5046,7 +5046,7 @@ tarteaucitron.services.maps_noapi = {
             var id = x.getAttribute("id"),
                 width = x.getAttribute("width"),
                 height = x.getAttribute("height")
-            var widgetURL = "https://google.com/maps/embed?pb=" + id;
+            var widgetURL = "https://www.google.com/maps/embed?pb=" + id;
             return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>";
         });
     },