поправлены ссылки на script sockjs

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/nodeJSProjects@67880 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Sergey.Konovalov
2016-02-02 16:13:56 +00:00
committed by Alexander.Trofimov
parent 3fad93efc3
commit 2559d39728
6 changed files with 9 additions and 31 deletions

View File

@ -2,7 +2,8 @@
nodehun = require('nodehun'),
config = require('config').get('SpellChecker'),
logger = require('./../../Common/sources/logger'),
fs = require('fs');
fs = require('fs'),
cfgSockjsUrl = require('config').get('services.CoAuthoring.server.sockjsUrl');
var arrDictionaries = {};
(function() {
@ -36,7 +37,7 @@ CheckDictionary(arrDictionaries[0x0409], 'color', 'calor');*/
exports.install = function (server, callbackFunction) {
'use strict';
var sockjs_opts = {sockjs_url: './../../Common/sources/sockjs-0.3.min.js'},
var sockjs_opts = {sockjs_url: cfgSockjsUrl},
sockjs_echo = sockjs.createServer(sockjs_opts);
sockjs_echo.on('connection', function (conn) {