Created
October 11, 2017 08:28
-
-
Save divyanshu013/9e9fd677170d5278b4fa9e2bbbed0df9 to your computer and use it in GitHub Desktop.
History service for TodoMVC Auth Client
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-auth-client' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment