This website requires JavaScript.
Explore
Help
Sign In
thibaud-lclr
/
api-client
Watch
1
Star
0
Fork
You've already forked api-client
0
Code
Packages
Activity
Actions
e0aede3fc4
api-client
/
middleware
/
parsedefaulturl.js
6 lines
110 B
JavaScript
Raw
Normal View
History
Unescape
Escape
:zap: Improving performance
2019-11-28 15:11:52 +00:00
export
default
function
(
{
route
,
redirect
}
)
{
Commit code with double quotes instead of single quotes
2020-02-25 02:06:23 +00:00
if
(
route
.
fullPath
!==
"/"
)
{
return
redirect
(
"/"
)
update for issue/bug #100
2019-08-31 02:01:47 +00:00
}
: rotating_light: Lint
2019-10-25 08:14:34 +00:00
}
Copy permalink