mirror of
https://github.com/glanceapp/glance.git
synced 2025-02-03 12:09:17 +01:00
Update default feed
This commit is contained in:
parent
eb9f92f04a
commit
c07a1ab636
@ -22,7 +22,7 @@ func (widget *Lobsters) Initialize() error {
|
|||||||
widget.withTitle("Lobsters").withCacheDuration(30 * time.Minute)
|
widget.withTitle("Lobsters").withCacheDuration(30 * time.Minute)
|
||||||
|
|
||||||
if widget.FeedUrl == "" {
|
if widget.FeedUrl == "" {
|
||||||
widget.FeedUrl = "https://lobste.rs/active.json"
|
widget.FeedUrl = "https://lobste.rs/hottest.json"
|
||||||
}
|
}
|
||||||
|
|
||||||
if widget.Limit <= 0 {
|
if widget.Limit <= 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user