Added GraphQL API
This commit is contained in:
@ -37,9 +37,9 @@ func Get(ctx *aero.Context) string {
|
||||
},
|
||||
}
|
||||
|
||||
if company.Image != "" {
|
||||
openGraph.Tags["og:image"] = company.Image
|
||||
}
|
||||
// if company.Image != "" {
|
||||
// openGraph.Tags["og:image"] = company.Image
|
||||
// }
|
||||
|
||||
if description != "" {
|
||||
openGraph.Tags["og:description"] = description
|
||||
|
@ -25,7 +25,7 @@ func Edit(ctx *aero.Context) string {
|
||||
"og:title": company.Name.English,
|
||||
"og:url": "https://" + ctx.App.Config.Domain + company.Link(),
|
||||
"og:site_name": "notify.moe",
|
||||
"og:image": company.Image,
|
||||
// "og:image": company.Image,
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user