fix: Subscriptions/You tab cache invalidation, hide Shorts on mobile; Bump v4.0.5
This commit is contained in:
parent
fd449cce45
commit
a8a562544e
5 changed files with 9 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
kv-tube-app:
|
kv-tube-app:
|
||||||
image: git.khoavo.myds.me/vndangkhoa/kv-tube-app:v4.0.4
|
image: git.khoavo.myds.me/vndangkhoa/kv-tube-app:v4.0.5
|
||||||
container_name: kv-tube-app
|
container_name: kv-tube-app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
kv-tube-app:
|
kv-tube-app:
|
||||||
image: git.khoavo.myds.me/vndangkhoa/kv-tube-app:v4.0.4
|
image: git.khoavo.myds.me/vndangkhoa/kv-tube-app:v4.0.5
|
||||||
container_name: kv-tube-app
|
container_name: kv-tube-app
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export default function MobileNav() {
|
||||||
|
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{ icon: <MdHomeFilled size={24} />, label: 'Home', path: '/' },
|
{ icon: <MdHomeFilled size={24} />, label: 'Home', path: '/' },
|
||||||
{ icon: <SiYoutubeshorts size={24} />, label: 'Shorts', path: '/shorts' },
|
// { icon: <SiYoutubeshorts size={24} />, label: 'Shorts', path: '/shorts' },
|
||||||
{ icon: <MdOutlineSubscriptions size={24} />, label: 'Subscriptions', path: '/feed/subscriptions' },
|
{ icon: <MdOutlineSubscriptions size={24} />, label: 'Subscriptions', path: '/feed/subscriptions' },
|
||||||
{ icon: <MdOutlineVideoLibrary size={24} />, label: 'You', path: '/feed/library' },
|
{ icon: <MdOutlineVideoLibrary size={24} />, label: 'You', path: '/feed/library' },
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic';
|
||||||
|
export const revalidate = 0;
|
||||||
|
|
||||||
interface VideoData {
|
interface VideoData {
|
||||||
id: string;
|
id: string;
|
||||||
title: string;
|
title: string;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic';
|
||||||
|
export const revalidate = 0;
|
||||||
|
|
||||||
interface VideoData {
|
interface VideoData {
|
||||||
id: string;
|
id: string;
|
||||||
title: string;
|
title: string;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue