Skip to content

Commit

Permalink
Use jsdeliver instead of maxcdn for twemoji
Browse files Browse the repository at this point in the history
  • Loading branch information
tagatac committed Jul 10, 2024
1 parent 5de1e26 commit a5519be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions opsys/outfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func TestPDFFile(t *testing.T) {
vertical-align: -0.1em;
}
</style>
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script>window.onload = function () { twemoji.parse(document.body); }</script>
</head>
Expand Down Expand Up @@ -156,7 +156,7 @@ func TestPDFFile(t *testing.T) {
vertical-align: -0.1em;
}
</style>
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script>window.onload = function () { twemoji.parse(document.body); }</script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion opsys/templates/outfile_html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ See cmd/bagoup/main.go for usage terms.
vertical-align: -0.1em;
}
</style>
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script>window.onload = function () { twemoji.parse(document.body); }</script>

</head>
Expand Down

0 comments on commit a5519be

Please sign in to comment.