This commit is contained in:
Alexander.Trofimov
2016-12-08 15:32:01 +03:00
parent d2b4a6d027
commit f35a572fee
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"dependencies": {
"express" : "^4.14.0",
"sockjs" : "^0.3.17",
"nodehun" : "^2.0.10",
"nodehun" : "git+https://git@github.com/ONLYOFFICE/nodehun.git",
"config" : "^1.21.0"
}
}

View File

@ -46,7 +46,7 @@ var arrDictionaries = {};
oDictTmp = arrDictionariesConfig[indexDict];
oDictName = oDictTmp.name;
pathTmp = __dirname + '/../dictionaries/' + oDictName + '/' + oDictName + '.';
arrDictionaries[oDictTmp.id] = new nodehun(fs.readFileSync(pathTmp + 'aff'), fs.readFileSync(pathTmp + 'dic'));
arrDictionaries[oDictTmp.id] = new nodehun(pathTmp + 'aff', pathTmp + 'dic');
}
})();