Raymonzut 5 years ago
parent 964e72eb73
commit 5c91c10bc0
No known key found for this signature in database
GPG Key ID: 97CF2D8BE2C69FC7
  1. 8
      client/src/router/index.js

@ -31,10 +31,16 @@ const routes = [
}, },
] ]
const exclude_routes = [
{
path: "/api"
}
]
const router = new VueRouter({ const router = new VueRouter({
mode: "history", mode: "history",
base: process.env.BASE_URL, base: process.env.BASE_URL,
routes, routes: routes.concat(exclude_routes),
}) })
export default router export default router

Loading…
Cancel
Save