mirror of
https://github.com/miniflux/v2.git
synced 2025-07-27 17:28:38 +00:00
feat: read external links
This commit is contained in:
parent
52b184394f
commit
562abeb997
36 changed files with 397 additions and 303 deletions
|
@ -88,6 +88,11 @@ func (h *handler) showUnreadFeedEntryPage(w http.ResponseWriter, r *http.Request
|
|||
}
|
||||
}
|
||||
|
||||
if user.AlwaysOpenExternalLinks {
|
||||
html.Redirect(w, r, entry.URL)
|
||||
return
|
||||
}
|
||||
|
||||
sess := session.New(h.store, request.SessionID(r))
|
||||
view := view.New(h.tpl, r, sess)
|
||||
view.Set("entry", entry)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue