Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use port from config #79

Open
dufferzafar opened this issue Nov 7, 2021 · 0 comments
Open

Use port from config #79

dufferzafar opened this issue Nov 7, 2021 · 0 comments

Comments

@dufferzafar
Copy link

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!

@dufferzafar dufferzafar changed the title Use local port Use port from config Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant