diff --git a/app-backend/config/host.config.js b/app-backend/config/host.config.js index 244cbb1..5016ee1 100644 --- a/app-backend/config/host.config.js +++ b/app-backend/config/host.config.js @@ -1,10 +1,14 @@ module.exports = { youtube: { name: "Youtube", - baseAPIUrl: 'https://www.youtube.com/' + shortname: "yt", + baseAPIUrl: 'https://youtube.googleapis.com/youtube/v3', + YOUTUBE_API_KEY: process.env.YOUTUBE_API_KEY }, dailymotion: { name: "Dailymotion", - baseAPIUrl: 'https://api.dailymotion.com/' + shortname: "dm", + baseAPIUrl: 'https://api.dailymotion.com/', + DAILYMOTION_API_KEY: process.env.DAILYMOTION_API_KEY } };