mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
migrate to nodehun fork https://github.com/ONLYOFFICE/nodehun
This commit is contained in:
@ -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"
|
||||
}
|
||||
}
|
||||
@ -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');
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user