Fix wrong latestVersion in server.js (#464)

This commit is contained in:
Sunny Luo 2018-02-20 11:50:05 +08:00 committed by Joel Marcey
parent 5198752d0c
commit 4a10be8002

View file

@ -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) {