File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
[ ![ Build Status] ( https://travis-ci.org/openstax/os-webview.svg?branch=master )] ( https://travis-ci.org/openstax/os-webview )
10
10
[ ![ Code Climate] ( https://codeclimate.com/github/openstax/os-webview/badges/gpa.svg )] ( https://codeclimate.com/github/openstax/os-webview )
11
- [ ![ dependency Status] ( https://david-dm.org/openstax/os-webview.svg )] ( https://david-dm.org/openstax/os-webview#info=dependencies )
12
- [ ![ devDependency Status] ( https://david-dm.org/openstax/os-webview/dev-status.svg )] ( https://david-dm.org/openstax/os-webview#info=devDependencies )
13
11
14
12
## Requirements
15
13
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ function MainRoutes() {
146
146
< Route path = "/details/" element = { < Navigate to = "/subjects" replace /> } />
147
147
< Route path = "/books/:title" element = { < RedirectToCanonicalDetailsPage /> } />
148
148
< Route path = "/textbooks/:title" element = { < RedirectToCanonicalDetailsPage /> } />
149
- < Route path = "/subjects-preview /*" element = { < ImportedPage name = "subjects" /> } />
149
+ < Route path = "/subjects/*" element = { < ImportedPage name = "subjects" /> } />
150
150
< Route path = "/k12/*" element = { < ImportedPage name = "k12" /> } />
151
151
< Route path = "/blog/*" element = { < ImportedPage name = "blog" /> } />
152
152
< Route path = "/webinars/*" element = { < ImportedPage name = "webinars" /> } />
@@ -158,7 +158,8 @@ function MainRoutes() {
158
158
path = "/edtech-partner-program"
159
159
element = { < ImportedPage name = "/openstax-ally-technology-partner-program" /> }
160
160
/>
161
- < Route path = "/:name/*" element = { < TopLevelPage /> } />
161
+ < Route path = "/:name/" element = { < TopLevelPage /> } />
162
+ < Route path = "/:name/*" element = { < Error404 /> } />
162
163
< Route element = { < h1 > Fell through</ h1 > } />
163
164
</ Routes >
164
165
</ Layout >
You can’t perform that action at this time.
0 commit comments