Add Youtube videos to the map (#13592)
This commit is contained in:
committed by
Quincy Larson
parent
0d9db6ea35
commit
4a3fcba501
@@ -1,6 +1,8 @@
|
||||
import request from 'request';
|
||||
|
||||
import constantStrings from '../utils/constantStrings.json';
|
||||
import testimonials from '../resources/testimonials.json';
|
||||
import { serveYoutubeApiResponse } from '../openApi';
|
||||
|
||||
const githubClient = process.env.GITHUB_ID;
|
||||
const githubSecret = process.env.GITHUB_SECRET;
|
||||
@@ -10,6 +12,7 @@ module.exports = function(app) {
|
||||
const User = app.models.User;
|
||||
const noLangRouter = app.loopback.Router();
|
||||
noLangRouter.get('/api/github', githubCalls);
|
||||
noLangRouter.get('/api/youtube', serveYoutubeApiResponse);
|
||||
noLangRouter.get('/chat', chat);
|
||||
noLangRouter.get('/twitch', twitch);
|
||||
noLangRouter.get('/unsubscribe/:email', unsubscribeAll);
|
||||
|
Reference in New Issue
Block a user