api-client/middleware/parsedefaulturl.js
Liyas Thomas 1587a44cd7 Lint
2020-06-19 12:26:04 +05:30

5 lines
111 B
JavaScript

export default function ({ route, redirect }) {
if (route.fullPath !== "/") {
return redirect("/")
}
}