diff --git a/shortener.go b/shortener.go index ce94624..953d081 100644 --- a/shortener.go +++ b/shortener.go @@ -165,13 +165,13 @@ func (c *Crawler) RecordClick(code string, r *http.Request) error { } // GetShortURLForPost returns the short URL string for use in posts -// Format: https://url.1440.news/{code} +// Format: https://news.1440.news/{code} func (c *Crawler) GetShortURLForPost(originalURL, itemGUID, feedURL string) (string, error) { shortURL, err := c.CreateShortURL(originalURL, itemGUID, feedURL) if err != nil { return "", err } - return fmt.Sprintf("https://url.1440.news/%s", shortURL.Code), nil + return fmt.Sprintf("https://news.1440.news/%s", shortURL.Code), nil } // GetClickStats returns click statistics for a short URL