WSLink launcher is not deleting services

WSLink launcher is not deleting services. There is bug in code in following file

web_app.add_routes(
    [
        aiohttp_web.post(endpoint, launcher_resource.handle_post),
        aiohttp_web.get(endpoint+'{id}', launcher_resource.handle_get),
        aiohttp_web.delete(endpoint+'{id}', launcher_resource.handle_delete),
    ]
)

+‘{id}’ part is missing in get and delete. After the above change service deletion is working fine. Kindly look in to it.

wslink==1.9.3 should fix that issue. Thanks for reporting it.

Although, I think I want to make those endpoint optional since they can pause a security concern.

1 Like

In 1.10.0, I’ve made those endpoint optional. You can look at the README how to enable them using environment variables.

Thanks a lot