mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
поправлены ссылки на 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:
committed by
Alexander.Trofimov
parent
3fad93efc3
commit
2559d39728
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user