mirror of
https://github.com/Inside4ndroid/TMDB-Embed-API.git
synced 2026-10-23 18:15:09 +00:00
Huge update see changelog for details.
This commit is contained in:
1 parent
35b95809de
commit
d0419321a4
23 files changed
+1328
-3758
No files matched your search
+1
-1
@@ -57,7 +57,7 @@ function getProviderNames() {
|
||||
const providersDir = path.join(process.cwd(), 'providers');
|
||||
if (!fs.existsSync(providersDir)) return [];
|
||||
return fs.readdirSync(providersDir)
|
||||
.filter(file => file.endsWith('.js') && file !== 'registry.js' && file !== 'vidsrcextractor.js')
|
||||
.filter(file => file.endsWith('.js') && file !== 'registry.js')
|
||||
.map(file => path.parse(file).name.toLowerCase());
|
||||
} catch (e) {
|
||||
console.warn('[config] Failed to scan providers directory:', e.message);
|
||||
|
||||
Reference in new issue
Block a user