mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update findProviders.json path
This commit is contained in:
parent
dab05d9e67
commit
b0e7ef34ed
@ -2,7 +2,10 @@ import fs from 'fs'
|
||||
import path from 'path'
|
||||
import minimatch from 'minimatch'
|
||||
|
||||
let oEmbedProvidersFile = fs.readFileSync(path.join(__dirname, './providers.json'), 'utf8')
|
||||
let oEmbedProvidersFile = fs.readFileSync(
|
||||
path.join(__dirname, '../../../../public/providers.json'),
|
||||
'utf8',
|
||||
)
|
||||
|
||||
// some providers allow a format parameter
|
||||
// we need JSON
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user