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

Spawn package uses static default value for KAPOW_DATA_URL #92

Closed
hhurtado opened this issue Nov 20, 2019 · 1 comment
Closed

Spawn package uses static default value for KAPOW_DATA_URL #92

hhurtado opened this issue Nov 20, 2019 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@hhurtado
Copy link
Contributor

Spawn function uses a constant to assign value to the environmental variable KAPOW_DATA_URL if not set in the ciurrent environment but should use the current listen address or the data server as could be set using command line parameter.

@hhurtado hhurtado added the bug Something isn't working label Nov 20, 2019
@hhurtado hhurtado added this to the 0.4.0 milestone Nov 20, 2019
@nilp0inter
Copy link
Contributor

nilp0inter commented Nov 21, 2019

Until this gets fixed users can set the KAPOW_DATA_URL variable directly in theirs route scripts.

kapow server --data-bind 127.0.0.1:31337
kapow route set /hi -c 'export KAPOW_DATA_URL="http://127.0.0.1:31337/"; ... your normal script ...'

@hhurtado hhurtado self-assigned this Apr 3, 2020
@hhurtado hhurtado closed this as completed Apr 3, 2020
@hhurtado hhurtado removed their assignment Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants