Skip to content

Commit

Permalink
fix(#262): specify dedicated YouTube API key for mainTemplate (#271)
Browse files Browse the repository at this point in the history
The YouTube API quota of our main Google Developer Project was reached pretty quickly, causing Openwhyd failing to add tracks from YouTube, and automated E2E tests to fail. (See #262)

I've opened a new Google Developer Project just for the key used in `mainTemplate`: `openwhyd-4`.
  • Loading branch information
adrienjoly committed Mar 1, 2020
1 parent 7e88c95 commit 2197d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/mainTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ exports.renderWhydFrame = function(html, params) {
'var DEEZER_APP_ID = 190482;',
'var DEEZER_CHANNEL_URL = window.location.href.substr(0, window.location.href.indexOf("/", 10)) + "/html/channel.html";',
'var SOUNDCLOUD_CLIENT_ID = "eb257e698774349c22b0b727df0238ad";',
'var YOUTUBE_API_KEY = "AIzaSyCRQTfnJJqpruNQk5aySJPX65NXBk8ATdk";',
'var YOUTUBE_API_KEY = "AIzaSyBNEoOD3NTfPSCgHlUvaVHUOl62rzaOf-E";', // associated to google api project "openwhyd-4", see https://github.com/openwhyd/openwhyd/issues/262
'var JAMENDO_CLIENT_ID = "2c9a11b9";',
'</script>',
// TODO: move credentials to makeAnalyticsHeading()
Expand Down

0 comments on commit 2197d7f

Please sign in to comment.