Created
November 22, 2017 12:55
-
-
Save divyanshu013/d579f3d628fb685eeb6b4d7409dd6af5 to your computer and use it in GitHub Desktop.
History service for TodoMVC Authorization App
This file contains hidden or 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
import createHistory from 'history/createBrowserHistory'; | |
export default createHistory({ | |
basename: process.env.NODE_ENV === 'development' ? '/' : '/todomvc-authorization-client' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment