On 2016-04-20 15:02, Andriy Rysin wrote:

> this works if I point to https://languagetool.org/api/v1/, but I was
> not able to run with direct API pointing to the server running locally
> on my machine. I've added --public and it listens on *:8081 but it
> never returns a request.
> Is there some other config options I need to turn on?

Yes, see the comment next to languagetool_rpc_url:

    the URL of your LanguageTool server or the URL of your proxy file,
    if you use your own server here and it's not running on the same 
domain
    as the text form, make sure the server gets started with 
'--allow-origin ...'

So you can use

   --allow-origin '*'

to make sure it works from everywhere.

Regards
  Daniel


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to