🐛 Try to fix the user agent issue
This commit is contained in:
		| @@ -15,7 +15,7 @@ import ( | ||||
| ) | ||||
|  | ||||
| // We have to set the User-Agent to this so the sites will respond with opengraph data | ||||
| const ScrapLinkUserAgent = "FacebookExternalHit/1.1" | ||||
| const ScrapLinkUserAgent = "facebookexternalhit/1.1" | ||||
|  | ||||
| func GetLinkMetaFromCache(target string) (models.LinkMeta, error) { | ||||
| 	hash := md5.Sum([]byte(target)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user