Skip to content

Commit 2e12280

Browse files
committed
QA fix: Rex url has "book" twice
1 parent b035b9e commit 2e12280

File tree

4 files changed

+1
-95
lines changed

4 files changed

+1
-95
lines changed

src/app/models/table-of-contents-html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function cnxFetch(cnxId) {
66
export default function ({isRex, cnxId, bookSlug, webviewLink}) {
77
function pageLink(entry) {
88
return isRex ?
9-
`https://openstax.org/books/${bookSlug}/pages/${entry.slug}` :
9+
`https://openstax.org/${bookSlug}/pages/${entry.slug}` :
1010
`${webviewLink}:${entry.shortId}`;
1111
}
1212

src/app/pages/details/contents/content-item.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/app/pages/details/contents/content-item.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/app/pages/details/contents/contents.js

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)