From 4a10be8002af4bf59a3830d75c5860b83df3d2a6 Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Tue, 20 Feb 2018 11:50:05 +0800 Subject: [PATCH] Fix wrong latestVersion in server.js (#464) --- 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 8255d1eca0f4..6e5d3d3673b9 100644 --- a/lib/server/server.js +++ b/lib/server/server.js @@ -195,7 +195,7 @@ function execute(port) { rawContent = insertTableOfContents(rawContent); } - let latestVersion = env.latestVersion; + let latestVersion = env.versioning.latestVersion; // replace any links to markdown files to their website html links Object.keys(mdToHtml).forEach(function(key, index) {