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.
2 lines
170 B
SQL
2 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 <> '';
|