wrenger / obsidian-languagetool

LanguageTool Plugin for Obsidian
GNU Affero General Public License v3.0
12 stars 1 forks source link

Static Language setting stopped working in 1.0.11 with local server #14

Open igrekster opened 1 day ago

igrekster commented 1 day ago

If I set Static Language to anything other than Auto Detect the plugin errors out:

Error: 'Request to LanguageTool failed: Please check your connection and server URL.
Error: Request failed, status 400'
Settings: {"serverUrl":"http://localhost:8081","autoCheckDelay":1250,"shouldAutoCheck":true,"languageVariety":{"en":"en-US","de":"de-DE","pt":"pt-PT","ca":"ca-ES"},"dictionary":[],"syncDictionary":false,"remoteDictionary":[],"pickyMode":true,"staticLanguage":"en-US","disabledRules":"EN_QUOTES,TWO_HYPHENS,WHITESPACE_RULE,DASH_RULE","username":"REDACTED","apikey":"REDACTED"}

Was working fine in 1.0.10.