Lua script needs to be adapted if running in virtual directory in Docker

Issue #923 resolved
Luuk created an issue

If running Openrem in Virtual directory, using the Docker setup, one needs to fill the virtual directory in the HttpPost of the Lua script:

HttpPost('http://nginx/import/from_docker/', post_data, headers)

Should become

HttpPost('http://nginx/' .. dms .. 'import/from_docker/', post_data, headers) (where dms is the variable holding the virtual directory).

Comments (3)

  1. Log in to comment