Remove server version of spell checker (#281)

* Remove server version of spell checker

* Add changes

* Add changes
This commit is contained in:
Roman Demidov
2021-06-21 11:52:54 +03:00
committed by GitHub
parent ed636d4c6c
commit 2fc6690f09
5 changed files with 6 additions and 14 deletions

View File

@ -317,11 +317,5 @@
"port": 4567,
"directory": "",
"silent": true
},
"SpellChecker": {
"server": {
"port": 8080,
"mode": "development"
}
}
}

View File

@ -39,7 +39,7 @@
"options": {"maxAge": "7d"}
},
"/dictionaries": {
"path": "/var/www/onlyoffice/documentserver/server/SpellChecker/dictionaries",
"path": "/var/www/onlyoffice/documentserver/server/dictionaries",
"options": {"maxAge": "7d"}
}
}
@ -72,7 +72,7 @@
},
"SpellChecker": {
"server": {
"dictDir": "/var/www/onlyoffice/documentserver/server/SpellChecker/dictionaries"
"dictDir": "/var/www/onlyoffice/documentserver/server/dictionaries"
}
}
}

View File

@ -28,7 +28,7 @@
"options": {"maxAge": "7d"}
},
"/dictionaries": {
"path": "../SpellChecker/dictionaries",
"path": "../dictionaries",
"options": {"maxAge": "7d"}
},
"/welcome": {
@ -66,7 +66,7 @@
},
"SpellChecker": {
"server": {
"dictDir": "./dictionaries"
"dictDir": "../dictionaries"
}
}
}

View File

@ -48,7 +48,7 @@ TARGET := $(PLATFORM)_$(ARCHITECTURE)
OUTPUT = ../build_tools/out/$(TARGET)/onlyoffice/documentserver/server
SPELLCHECKER_DICTIONARIES := $(OUTPUT)/SpellChecker/dictionaries
SPELLCHECKER_DICTIONARIES := $(OUTPUT)/dictionaries
SPELLCHECKER_DICTIONARY_FILES += ../dictionaries/*_*
SCHEMA_DIR = schema

View File

@ -15,7 +15,6 @@
"./FileConverter/package.json",
"./FileConverter/bin/DoctRenderer.config",
"./Metrics/package.json",
"./SpellChecker/package.json",
"./Common/config/*.json",
"./Common/config/log4js/*.json",
"./Metrics/config/config.js"
@ -52,8 +51,7 @@
"./build/server/Common",
"./build/server/DocService",
"./build/server/FileConverter",
"./build/server/Metrics",
"./build/server/SpellChecker"
"./build/server/Metrics"
],
"dependencies": {
"grunt": "^1.3.0",