mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-05 19:51:57 +02:00
feat: remove "nocache" on download validation, and increase ratelimit time
Signed-off-by: Hanif Dwy Putra S <47862061+hansputera@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@ export const rateLimitConfig = {
|
||||
* So, their ratelimit data will removed.
|
||||
* PS: Data stored on redis.
|
||||
*/
|
||||
ratelimitTime: 60,
|
||||
ratelimitTime: 120,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -28,10 +28,6 @@ export default applyRoute(
|
||||
'Invalid Provider, available provider is: ' +
|
||||
Providers.map((x) => x.resourceName()).join(', '),
|
||||
})),
|
||||
nocache:
|
||||
req.method === 'POST'
|
||||
? ow.optional.boolean
|
||||
: ow.optional.string,
|
||||
rotateOnError:
|
||||
req.method === 'POST'
|
||||
? ow.optional.boolean
|
||||
|
||||
Reference in New Issue
Block a user