Skip to content

Commit 58cc043

Browse files
committed
domains: review github gists with filenames
1 parent 8b0a1ca commit 58cc043

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

plugins/domains/github.gist.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ export default {
33
re: /^https?:\/\/gist\.github\.com\/(?:[\w\.\-]+\/)?(\w+)(?:#([\w\.\-]+))?/i,
44

55
mixins: [
6-
"og-site",
7-
"og-image",
8-
"domain-icon"
6+
"*"
97
],
108

119
getMeta: function(meta) {
@@ -36,9 +34,6 @@ export default {
3634
request({
3735
uri: 'https://api.github.com/gists/' + gistId,
3836
json: true,
39-
headers: {
40-
'User-Agent': 'iframely/gist'
41-
},
4237
jar: false,
4338
prepareResult: function (error, response, body, cb) {
4439

0 commit comments

Comments
 (0)