Ejabberd 13 and mod_rest

Hi,

i am trying to use ejabberd 13 with module mod_rest from ejabberd_contrib, but it failed with:

2013-09-13 11:39:54.982 [error] <0.37.0> CRASH REPORT Process <0.37.0> with 0 neighbours exited with reason: {undefined_macro,''} in application_master:init/4 line 133

I am suspicious about config problem. I had working it in 2.1.13 and tried move config to v 13, but there is another format...

tried to add connector:

  -
    port: 5285
    module: ejabberd_http
    request_handlers:
        - "rest": mod_rest

and module:

  mod_rest:
    allowed_ips: [{"127.0.0.1"}]

is it ok?

so it seems, that proper form

so it seems, that proper form is:

  mod_rest:
    allowed_ips:.
        "127.0.0.1"

maybe it helps someone:).

Syndicate content