Make React routes relative
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
"universal-cookie": "4.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@edx/frontend-build": "2.0.6",
|
||||
"@edx/frontend-build": "kdmccormick/frontend-build#kdmccormick/devstack",
|
||||
"codecov": "3.6.5",
|
||||
"enzyme": "3.10.0",
|
||||
"enzyme-adapter-react-16": "1.15.2",
|
||||
|
||||
@@ -31,10 +31,10 @@ subscribe(APP_READY, () => {
|
||||
ReactDOM.render(
|
||||
<AppProvider store={configureStore()}>
|
||||
<Switch>
|
||||
<Route path="/coaching_consent" component={CoachingConsent} />
|
||||
<Route path="coaching_consent" component={CoachingConsent} />
|
||||
<HeaderFooterLayout>
|
||||
<Route exact path="/" component={AccountSettingsPage} />
|
||||
<Route path="/notfound" component={NotFoundPage} />
|
||||
<Route exact path="" component={AccountSettingsPage} />
|
||||
<Route path="notfound" component={NotFoundPage} />
|
||||
<Route path="*" component={NotFoundPage} />
|
||||
</HeaderFooterLayout>
|
||||
</Switch>
|
||||
|
||||
Reference in New Issue
Block a user