From 4a4fea7d8a53760c1d65e69159b22d30ab21de0c Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Wed, 14 Mar 2018 00:05:26 +0800 Subject: [PATCH] Fix wrong versioned_docs file path (#501) --- lib/server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server/server.js b/lib/server/server.js index 884e8aecf08a..4535eee07ca4 100644 --- a/lib/server/server.js +++ b/lib/server/server.js @@ -172,7 +172,7 @@ function execute(port) { if (env.translation.enabled && metadata.language !== 'en') { file = join(CWD, 'translated_docs', metadata.language, metadata.source); } else { - file = join(CWD, 'versioned_docs' + metadata.source); + file = join(CWD, 'versioned_docs', metadata.source); } } else { if (!env.translation.enabled || metadata.language === 'en') {