Skip to content

Add the port when saving the instance #166

@njuguna-n

Description

@njuguna-n

Describe the bug
Currently, instances that make use of a specific port for example cht.example.com:3000 and syncing the medic database will be saved as cht.example.com/medic in the source column in the couchdb_progress table.

To Reproduce

  1. Use a dev CHT Core instance in which the URL has a port
  2. Run CHT Sync and check the source column in the couchdb_progress table.

Expected behavior
The instance URL is saved with the specified port.

Logs

Screenshots

Environment

  • Instance
  • Client platform: (eg: Windows, MacOS, Linux)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugFix something that isn't working as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions