Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
remove regular expression I really don't get the purpose of :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed Dec 19, 2016
1 parent 6c67a05 commit 7a6e298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { createHistory } from 'history'
import { useRouterHistory } from 'react-router'

const browserHistory = useRouterHistory(createHistory)({
basename: window['NOMAD_ENDPOINT'].replace(/^[.a-zA-Z0-9]+:?[0-9]*/, '')
basename: window['NOMAD_ENDPOINT']
})

import { Provider } from 'react-redux'
Expand Down

0 comments on commit 7a6e298

Please sign in to comment.