diff --git a/ghost/core/core/server/api/endpoints/bsm-podcast.js b/ghost/core/core/server/api/endpoints/bsm-podcast.js index 51f4f49a6ef6..ceadb2d29d4d 100644 --- a/ghost/core/core/server/api/endpoints/bsm-podcast.js +++ b/ghost/core/core/server/api/endpoints/bsm-podcast.js @@ -1,8 +1,9 @@ +const config = require('../../../shared/config'); const models = require('../../models'); const https = require('https'); const fetch_feed = async () => { - const URL = atob('aHR0cHM6Ly9yYnRubi5naXRodWIuaW8vYnNtLWZlZWQtZ2VuZXJhdG9yL2JzbS1mZWVkLnhtbA=='); + const URL = config.get('bsm_podcast').url; return new Promise((resolve, reject) => { https.get(URL, (resp) => { let data = '';