api-client/middleware/parsedefaulturl.js

6 lines
111 B
JavaScript
Raw Normal View History

2020-06-19 06:56:04 +00:00
export default function ({ route, redirect }) {
if (route.fullPath !== "/") {
return redirect("/")
2019-08-31 02:01:47 +00:00
}
2019-10-25 08:14:34 +00:00
}