Skip to content

Use port from config #79

@dufferzafar

Description

@dufferzafar

Port 5600 is hardcoded, but should be read from the server config file:

self.root_url = "http://localhost:{port}".format(port=5666 if self.testing else 5600)

Usecase:

My brother & I both use activitywatch on our common PC. His aw-server process runs on port 5600, while mine runs on port 5700. When launching the dashboard from trayicon, it always opens up port 5600!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions