Skip to content

Commit 64d16d8

Browse files
author
Sebastian Gun
committed
Changing render URL for one with a valid certificate for https
1 parent e69cf89 commit 64d16d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/checkout-buttons/basic-preference/button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def index(req, **kwargs):
3434
</head>
3535
<body>
3636
<a href="{url}" name="MP-Checkout" class="blue-l-arall-rn">Pagar</a>
37-
<script type="text/javascript" src="http://mp-tools.mlstatic.com/buttons/render.js"></script>
37+
<script type="text/javascript" src="//resources.mlstatic.com/mptools/render.js"></script>
3838
</body>
3939
</html>
4040
""".format (url=url)

examples/preapproval-payments/button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def index(req, **kwargs):
3939
</head>
4040
<body>
4141
<a href="{url}" name="MP-Checkout" class="blue-l-arall-rn">Pagar</a>
42-
<script type="text/javascript" src="http://mp-tools.mlstatic.com/buttons/render.js"></script>
42+
<script type="text/javascript" src="//resources.mlstatic.com/mptools/render.js"></script>
4343
</body>
4444
</html>
4545
""".format (url=url)

0 commit comments

Comments
 (0)