feat: update admin routes and cookie paths to use '/lg-admin' prefix
This commit is contained in:
@@ -25,27 +25,27 @@ export const MENU: TMenu[] = [
|
||||
items: [
|
||||
{
|
||||
title: 'Dashboard',
|
||||
url: '/admin/dashboard',
|
||||
url: '/lg-admin',
|
||||
icon: ChartIcon,
|
||||
},
|
||||
{
|
||||
title: 'User',
|
||||
url: '/admin/dashboard/users',
|
||||
url: '/lg-admin/users',
|
||||
icon: DocumentIcon,
|
||||
},
|
||||
{
|
||||
title: 'Konten',
|
||||
url: '/admin/dashboard/contents',
|
||||
url: '/lg-admin/contents',
|
||||
icon: ChatIcon,
|
||||
},
|
||||
{
|
||||
title: 'Advertisement',
|
||||
url: '/admin/dashboard/advertisements',
|
||||
url: '/lg-admin/advertisements',
|
||||
icon: MedicalNotesIcon,
|
||||
},
|
||||
{
|
||||
title: 'Subscription',
|
||||
url: '/admin/dashboard/subscriptions',
|
||||
url: '/lg-admin/subscriptions',
|
||||
icon: ChartIcon,
|
||||
},
|
||||
],
|
||||
@@ -55,17 +55,17 @@ export const MENU: TMenu[] = [
|
||||
items: [
|
||||
{
|
||||
title: 'Data Situs',
|
||||
url: '/admin/dashboard/site-data',
|
||||
url: '/lg-admin/site-data',
|
||||
icon: WalletIcon,
|
||||
},
|
||||
{
|
||||
title: 'Pengaturan',
|
||||
url: '/admin/dashboard/settings',
|
||||
url: '/lg-admin/settings',
|
||||
icon: SettingIcon,
|
||||
},
|
||||
{
|
||||
title: 'Admin',
|
||||
url: '/admin/dashboard/admins',
|
||||
url: '/lg-admin/admins',
|
||||
icon: ProfileIcon,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user