Skip to content

[bug] /kosync webpage shows URL as http://<url>/kosync but plugin is only expecting http://<url> #463

@gx1400

Description

@gx1400

The CWA Kosync page instructs the user to enter the CWA URL with the /kosync at the end. When doing this, Kosync plugin (provided on the same page) fails with a Unknown server error

On line 444 of main.lua:

local client = CWASyncClient:new{
        service_url = self.settings.server .. "/kosync",
        service_spec = self.path .. "/api.json"
    }

the /kosync is appended in the plugin automatically so entering http://url/kosync will resolve to http://url/kosync/kosync/api.json

Screenshots
Image

Image

Configuration(please complete the following information):
Pocketbook Inkpad Color 3

Resolution
remove "kosync" from the cwa kosync page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions