From f91848656cfab0887422f56826168d85c1582fa4 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 2 Jan 2021 14:05:13 -0600 Subject: [PATCH] Provide app or video via payload --- nuxt.config.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 528ea60..85152a4 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -153,10 +153,16 @@ export default { const isVideo = (app.category === undefined) if (isVideo) { - return getVideoEndpoint(app) + return { + route: getVideoEndpoint(app), + payload: { video: app } + } } - return getAppEndpoint(app) + return { + route: getAppEndpoint(app), + payload: { app } + } }) })