Last active
January 30, 2017 03:50
-
-
Save dashawk/cf04bf3f35e82e99c1b3b6c2717fbf02 to your computer and use it in GitHub Desktop.
[FIX] generator-hottowel-html5mode(false)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
routerHelper.configureStates(getStates(levels), function () { | |
var redirects = '/404'; | |
if($state.current.url === '^') { | |
redirects = '/'; // Or Whatever your homepage is | |
} | |
return redirects; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will resolve the routing if html5mode is false