Pull videos from prebuilt json

This commit is contained in:
Sam Carlton 2021-03-27 14:42:38 -05:00
parent 2570ec3c46
commit 1b6fc4239b

View file

@ -110,8 +110,10 @@ const makeThumbnailData = function ( thumbnails ) {
export default async function ( applist ) {
const videosJsonUrl = `${process.env.VFUNCTIONS_URL}/videos.json`
// Fetch Commits
const response = await axios.get(process.env.VIDEO_SOURCE)
const response = await axios.get( videosJsonUrl )
// Extract commit from response data
const fetchedVideos = response.data