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

Config.json #10

Closed
nesimtunc opened this issue May 15, 2020 · 0 comments · Fixed by #11
Closed

Config.json #10

nesimtunc opened this issue May 15, 2020 · 0 comments · Fixed by #11
Assignees
Labels
enhancement New feature or request

Comments

@nesimtunc
Copy link
Member

nesimtunc commented May 15, 2020

We need a config.json API request for client side configuration.

Request URL will be {server_url}/config.json

Example:

{
 "app": {
   "image_url": "http://localhost:4000/images/app_image.jpg",
   "title": "CoThings"
 },
 "beacon" : {} 
}

App's title is already is set in environment variables. We can use same approach for photo as well.

This configuration can be used for multiple purposes; like optimizing beacon related parameters.

@nesimtunc nesimtunc self-assigned this May 15, 2020
@nesimtunc nesimtunc added the enhancement New feature or request label May 15, 2020
@nesimtunc nesimtunc linked a pull request May 15, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant