MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/public_html/ezwork/resources/admin/js/router.js
import VueRouter from 'vue-router'

// Pages
import Login from './pages/Login'
import PasswordLinkSent from './pages/PasswordLinkSent'
import ForgotPassword from './pages/ForgotPassword'
import ResetPasswordForm from './pages/ResetPasswordForm' 
import AdminDashboard from './pages/admin/Dashboard'
import Test from './pages/admin/Test'
import Language from './pages/admin/Language'
import Subject from './pages/admin/Subject'
import Address_proof_type from './pages/admin/Address_proof_type'
import Photo_proof_type from './pages/admin/Photo_proof_type'
import Software_tool from './pages/admin/Software_tool'
import Client from './pages/admin/Client'
// Routes
const routes = [
  {
    path: '/',
    name: 'login',
    component: Login, 
    meta: {
      auth: undefined
    }
  }, 
  {
    path: '/login',
    name: 'login',
    component: Login, 
    meta: {
      auth: undefined
    }
  }, 
  {
    path: '/passwordLinkSent',
    name: 'passwordLinkSent',
    component: PasswordLinkSent,
    meta: {
      auth: undefined
    }
  },
  { 
    path: '/reset-password',  
    name: 'reset-password', 
    component: ForgotPassword, 
    meta: { 
      auth:false 
    } 
  }, 
  { 
    path: '/reset-password/:token', 
    name: 'reset-password-form', 
    component: ResetPasswordForm, 
    meta: { 
      auth:false 
    } 
  },
  {
    path: '/translators',
    name: 'admin.dashboard',
    component: AdminDashboard,
    meta: {
      auth: true
    }
  },
  {
    path: '/test',
    name: 'admin.test',
    component: Test,
    meta: {
      auth: true
    }
  },
  {
    path: '/language',
    name: 'admin.language',
    component: Language,
    meta: {
      auth: true
    }
  },
  {
    path: '/expertise',
    name: 'admin.expertise',
    component: Subject,
    meta: {
      auth: true
    }
  },
  {
    path: '/address_proof_type',
    name: 'admin.address_proof_type',
    component: Address_proof_type,
    meta: {
      auth: true
    }
  },
  {
    path: '/photo_proof_type',
    name: 'admin.photo_proof_type',
    component: Photo_proof_type,
    meta: {
      auth: true
    }
  },
  {
    path: '/client',
    name: 'admin.client',
    component: Client,
    meta: {
      auth: true
    }
  },
  {
    path: '/software_tool',
    name: 'admin.software_tool',
    component: Software_tool, 
    meta: {
      auth: true
    }
  },

]

const router = new VueRouter({
  history: true,
  mode: 'history',
  base: `/adminpanel`,
  routes,
})

export default router