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