Skip to content

Commit

Permalink
delete twitter case
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Nov 20, 2023
1 parent 77cfc3c commit ed16770
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions service/ogp/parser/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ const userAgent = "traq-ogp-fetcher-curl-bot; contact: github.com/traPtitech/tra

func FetchSpecialDomainInfo(url *url.URL) (og *opengraph.OpenGraph, meta *DefaultPageMeta, isSpecialDomain bool, err error) {
switch url.Host {
// case "twitter.com":
// og, meta, err = FetchTwitterInfo(url)
// return og, meta, true, err
case "vrchat.com":
og, meta, err = FetchVRChatInfo(url)
return og, meta, true, err
Expand Down

0 comments on commit ed16770

Please sign in to comment.