Skip to content

Commit

Permalink
Merge pull request #770 from iterative/jorgeorpinel
Browse files Browse the repository at this point in the history
hotfix previous hotfix! (#769)
  • Loading branch information
shcheklein authored Nov 3, 2019
2 parents 37aab6a + 219b513 commit a07bd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ app.prepare().then(() => {
} else if (req.headers.host === 'man.dvc.org') {
// man.dvc.org/{cmd} -> dvc.org/doc/command-reference/{cmd}
let normalized_pathname =
['/get-url', '/import-url'].indexOf(pathname) >= 0
['/get-url', '/import-url'].indexOf(pathname) < 0
? pathname.replace('-', '/')
: pathname
const doc_pathname = '/doc/command-reference' + normalized_pathname
Expand Down

0 comments on commit a07bd0c

Please sign in to comment.