Skip to content

Commit 140bf10

Browse files
louisliviQingWei-Li
authored andcommitted
fix: github assets url (#774)
1 parent dfd31b5 commit 140bf10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/core/render/emojify.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {inBrowser} from '../util/env'
22

33
function replace(m, $1) {
4-
return '<img class="emoji" src="https://assets-cdn.github.com/images/icons/emoji/' + $1 + '.png" alt="' + $1 + '" />'
4+
return '<img class="emoji" src="https://github.githubassets.com/images/icons/emoji/' + $1 + '.png" alt="' + $1 + '" />'
55
}
66

77
export function emojify(text) {

Diff for: src/plugins/emoji.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ const AllGithubEmoji = [
892892
window.emojify = function (match, $1) {
893893
return AllGithubEmoji.indexOf($1) === -1 ?
894894
match :
895-
'<img class="emoji" src="https://assets-cdn.github.com/images/icons/emoji/' +
895+
'<img class="emoji" src="https://github.githubassets.com/images/icons/emoji/' +
896896
$1 +
897897
'.png" alt="' +
898898
$1 +

0 commit comments

Comments
 (0)