🐛 Try to fix the user agent issue
This commit is contained in:
parent
b7d7d09eca
commit
e055ef27e5
@ -15,7 +15,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// We have to set the User-Agent to this so the sites will respond with opengraph data
|
// 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) {
|
func GetLinkMetaFromCache(target string) (models.LinkMeta, error) {
|
||||||
hash := md5.Sum([]byte(target))
|
hash := md5.Sum([]byte(target))
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
id = "reader01"
|
id = "reader01"
|
||||||
|
|
||||||
bind = "0.0.0.0:8005"
|
bind = "0.0.0.0:8008"
|
||||||
grpc_bind = "0.0.0.0:7005"
|
grpc_bind = "0.0.0.0:7008"
|
||||||
|
|
||||||
nexus_addr = "localhost:7001"
|
nexus_addr = "localhost:7001"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user