mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Pull videos from prebuilt json
This commit is contained in:
parent
2570ec3c46
commit
1b6fc4239b
1 changed files with 3 additions and 1 deletions
|
|
@ -110,8 +110,10 @@ const makeThumbnailData = function ( thumbnails ) {
|
||||||
|
|
||||||
export default async function ( applist ) {
|
export default async function ( applist ) {
|
||||||
|
|
||||||
|
const videosJsonUrl = `${process.env.VFUNCTIONS_URL}/videos.json`
|
||||||
|
|
||||||
// Fetch Commits
|
// Fetch Commits
|
||||||
const response = await axios.get(process.env.VIDEO_SOURCE)
|
const response = await axios.get( videosJsonUrl )
|
||||||
// Extract commit from response data
|
// Extract commit from response data
|
||||||
const fetchedVideos = response.data
|
const fetchedVideos = response.data
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue