From a6aa78d10d34920631e9e403f91c971c4b599940 Mon Sep 17 00:00:00 2001 From: mi1468 Date: Mon, 12 May 2025 11:49:20 +0330 Subject: [PATCH] change configs --- xroom-dashboard/src/router/index.js | 7 +++++++ xroom-dashboard/vue.config.js | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/xroom-dashboard/src/router/index.js b/xroom-dashboard/src/router/index.js index 337a3b7..a14d080 100644 --- a/xroom-dashboard/src/router/index.js +++ b/xroom-dashboard/src/router/index.js @@ -4,6 +4,7 @@ import LoginPage from '../pages/LoginPage.vue' import ResetPassword from '../pages/ResetPassword.vue' import DashboardPage from '../pages/dashboard/index.vue' import FilesPage from '@/pages/dashboard/files.vue'; +import TeamsPage from '@/pages/dashboard/team.vue'; import axios from '@/axios'; const routes = [ @@ -34,6 +35,12 @@ const routes = [ component: FilesPage, meta: { requiresAuth: true } }, + { + path: '/dashboard/teams', + name: 'teams', + component: TeamsPage, + meta: { requiresAuth: true } + }, { path: '/dashboard/edit-profile', name: 'EditProfile', diff --git a/xroom-dashboard/vue.config.js b/xroom-dashboard/vue.config.js index 910e297..e608512 100644 --- a/xroom-dashboard/vue.config.js +++ b/xroom-dashboard/vue.config.js @@ -1,4 +1,7 @@ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ - transpileDependencies: true + transpileDependencies: true, + disableHostCheck: true, + }) +