Add access token system

This commit is contained in:
Ajay
2022-08-31 01:55:38 -04:00
parent ab6fcb8943
commit 7060c0ab0d
9 changed files with 316 additions and 0 deletions

View File

@@ -135,6 +135,15 @@ addDefaults(config, {
disableOfflineQueue: true,
expiryTime: 24 * 60 * 60,
getTimeout: 40
},
patreon: {
clientId: "",
clientSecret: "",
minPrice: 0,
redirectUri: "https://sponsor.ajay.app/api/generateToken/patreon"
},
gumroad: {
productPermalinks: []
}
});
loadFromEnv(config);