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

remove hardcoded socket connection url in klingon ui #58

Closed
sumitparakh opened this issue Sep 30, 2018 · 1 comment
Closed

remove hardcoded socket connection url in klingon ui #58

sumitparakh opened this issue Sep 30, 2018 · 1 comment
Labels

Comments

@sumitparakh
Copy link
Member

sumitparakh commented Sep 30, 2018

I've just switched from windows 10 to linux (kali) and when i ran the project. I found that there was another service(Apache Test) which was using 3000 port. So klingon server threw "port in use" error.

So i've changed server port from 3000 to 3001 and it worked.
But then, klingon-ui threw 404 error because localhost:3000 was hardcoded in it.. So i had to update the port at 4-5 locations in klingon-ui. It is a bit time taking.

I think we should define scheme, host and port values in environment file so that it is reused across klingon-ui and reduce hardcoding.

@sumitparakh sumitparakh changed the title Sync socket connection url in angular ui remove hardcoded socket connection url in klingon ui Sep 30, 2018
sumitparakh added a commit to sumitparakh/klingon that referenced this issue Sep 30, 2018
reuse url variables across klingon-ui through envirtonment.

Fixed angular-klingon#58
sumitparakh added a commit to sumitparakh/klingon that referenced this issue Sep 30, 2018
reuse url variables across klingon-ui through envirtonment.

Fixed angular-klingon#58
sumitparakh added a commit to sumitparakh/klingon that referenced this issue Sep 30, 2018
reuse url variables across klingon-ui through envirtonment.

Fixed angular-klingon#58
sumitparakh added a commit to sumitparakh/klingon that referenced this issue Sep 30, 2018
reuse url variables across klingon-ui through environment.

Fixed angular-klingon#58
sumitparakh added a commit to sumitparakh/klingon that referenced this issue Sep 30, 2018
Reuse url variables across klingon-ui through environment.

Fixed angular-klingon#58
sumitparakh added a commit to sumitparakh/klingon that referenced this issue Sep 30, 2018
Reuse url variables across klingon-ui through environment.

Fixed angular-klingon#58
sumitparakh added a commit to sumitparakh/klingon that referenced this issue Sep 30, 2018
Reuse url variables across klingon-ui through environment

Fixed angular-klingon#58
sumitparakh added a commit to sumitparakh/klingon that referenced this issue Sep 30, 2018
Reuse url variables across klingon-ui through environment

Fixed angular-klingon#58
@sumitparakh
Copy link
Member Author

Fix #60

manekinekko pushed a commit that referenced this issue Oct 1, 2018
Reuse url variables across klingon-ui through environment

Fixed #58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant