mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Generete 10k video pages
This commit is contained in:
parent
28024faeeb
commit
0d4d98b6d0
1 changed files with 5 additions and 5 deletions
|
|
@ -34,7 +34,7 @@ const videoListOptions = {
|
||||||
|
|
||||||
const extraVideos = []
|
const extraVideos = []
|
||||||
|
|
||||||
const multiplier = 5
|
const multiplier = 12
|
||||||
|
|
||||||
for (let i = 0; i < multiplier; i++) {
|
for (let i = 0; i < multiplier; i++) {
|
||||||
videoList.forEach( video => {
|
videoList.forEach( video => {
|
||||||
|
|
@ -48,7 +48,7 @@ const videoListOptions = {
|
||||||
return [
|
return [
|
||||||
...videoList,
|
...videoList,
|
||||||
...extraVideos
|
...extraVideos
|
||||||
]
|
].slice(0, 10 * 1000)
|
||||||
},
|
},
|
||||||
path: '/static/video-list.json',
|
path: '/static/video-list.json',
|
||||||
}
|
}
|
||||||
|
|
@ -187,7 +187,7 @@ export default {
|
||||||
gameRoutes,
|
gameRoutes,
|
||||||
homebrewRoutes,
|
homebrewRoutes,
|
||||||
|
|
||||||
videoRoutes
|
// videoRoutes
|
||||||
] = lists.map((list, listI) => {
|
] = lists.map((list, listI) => {
|
||||||
return list.map( app => {
|
return list.map( app => {
|
||||||
|
|
||||||
|
|
@ -196,7 +196,7 @@ export default {
|
||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
return {
|
return {
|
||||||
route: getVideoEndpoint(app),
|
route: getVideoEndpoint(app),
|
||||||
payload: buildVideoPayload(app, allVideoAppsList, videoList)
|
payload: {}//buildVideoPayload(app, allVideoAppsList, videoList)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -338,7 +338,7 @@ export default {
|
||||||
*/
|
*/
|
||||||
build: {
|
build: {
|
||||||
parallel: true,
|
parallel: true,
|
||||||
hardSource: true,
|
// hardSource: true,
|
||||||
cache: true,
|
cache: true,
|
||||||
html: {
|
html: {
|
||||||
minify: {
|
minify: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue