mirror of
https://github.com/miniflux/v2.git
synced 2024-10-02 15:21:14 +02:00
41a2b7e58e
A new "shareCode" field is generated for each entry, and allows unlogged users to access the entry through the /shared endpoint. This feature is particularly useful to share articles from miniflux to third-party users without having them to visit the original source. The image proxy is disabled and special cache headers are proposed in the shared page to avoid denial of service.
3 lines
170 B
SQL
3 lines
170 B
SQL
alter table entries add column share_code text not null default '';
|
|
create unique index entries_share_code_idx on entries using btree(share_code) where share_code <> '';
|