From 1ab45033cd93d8f2324849744ac383d76cf4df09 Mon Sep 17 00:00:00 2001 From: primal Date: Wed, 28 Jan 2026 22:49:04 -0500 Subject: [PATCH] Use app.1440.news domain for short URLs Co-Authored-By: Claude Opus 4.5 --- shortener.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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