Try env.VIDEO_SOURCE first

This commit is contained in:
Sam Carlton 2021-08-16 12:40:31 -05:00
parent ab5d968d4f
commit daa3f03356

View file

@ -130,7 +130,7 @@ const makeThumbnailData = function ( thumbnails, widthLimit = null ) {
export default async function ( applist ) { export default async function ( applist ) {
const videosJsonUrl = `${process.env.VFUNCTIONS_URL}/videos.json` const videosJsonUrl = process.env.VIDEO_SOURCE || `${process.env.VFUNCTIONS_URL}/videos.json`
// Fetch Commits // Fetch Commits
const response = await axios.get( videosJsonUrl ) const response = await axios.get( videosJsonUrl )