sipi icon indicating copy to clipboard operation
sipi copied to clipboard

Lua Test Route luaexe/test2

Open tobiasschweizer opened this issue 9 years ago • 2 comments

The path to the test image Leaves8.tif served by luaexe/test2 is not set correctly when imgroot is set to ./images because it resides in ./test_server/images.

This only works if imgroot is set to ./test_server/images in the config file.

config.imgroot .. "/Leaves8.tif"

tobiasschweizer avatar Jun 20 '16 22:06 tobiasschweizer

I don't understand this issue. What is luaexe? Is this still relevant?

benjamingeer avatar Feb 07 '17 13:02 benjamingeer

I think luaexe is the route defined in sipi.conf.lua:

    {
        method = 'GET',
        route = '/luaexe/test1',
        script = 'test1.lua'
    },
    {
        method = 'GET',
        route = '/luaexe/test2',
        script = 'test2.lua'
    }

tobiasschweizer avatar Feb 07 '17 16:02 tobiasschweizer