mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-13 06:57:05 +03:00
added youtube util and cors middleware
This commit is contained in:
7
src/utils/youtubeAPI.js
Normal file
7
src/utils/youtubeAPI.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// YouTube API
|
||||
const YouTubeAPI = require("youtube-api");
|
||||
YouTubeAPI.authenticate({
|
||||
type: "key",
|
||||
key: config.youtubeAPIKey
|
||||
});
|
||||
module.exports = YouTubeAPI;
|
||||
Reference in New Issue
Block a user