Support QiReader subscription (#846)
This commit is contained in:
@@ -29,6 +29,7 @@ export const defaultConfig = {
|
||||
feedbin: false,
|
||||
feedbinDomain: 'https://feedbin.com',
|
||||
theoldreader: false,
|
||||
qireaderDomain: 'https://www.qireader.com',
|
||||
feedspub: false,
|
||||
bazqux: false,
|
||||
local: true,
|
||||
|
||||
@@ -83,6 +83,13 @@ export const quickSubscriptions: ({
|
||||
subscribeDomain: "https://bazqux.com",
|
||||
themeColor: "#00af00",
|
||||
getSubscribePath: (data) => `/add?url=${data.encodedUrl}`
|
||||
}, {
|
||||
name: "Qi Reader",
|
||||
projectUrl: "https://www.qireader.com/",
|
||||
key: "qireader",
|
||||
subscribeDomainKey: "qireaderDomain",
|
||||
themeColor: "#e79317",
|
||||
getSubscribePath: (data) => `/discover?search=${data.encodedUrl}`
|
||||
}, {
|
||||
name: "CheckChan",
|
||||
projectUrl: "https://ckc.ftqq.com",
|
||||
@@ -96,4 +103,4 @@ export const quickSubscriptions: ({
|
||||
subscribeDomain: "feed://",
|
||||
themeColor: "#f28f34",
|
||||
getSubscribePath: (data) => data.url.replace(/^https?:\/\//, "")
|
||||
}]
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user