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

shiftApiConfig - figure out how to allow client to pass data through to the config #5

Open
owensmooth opened this issue Mar 18, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@owensmooth
Copy link
Contributor

At the moment we have to use environment variables for key data like API_HOST, API_TENANT etc.

We need to figure out a way to allow the client to pass what info they want to the config on boot.

We have already tried to use shiftNextConfig in the reference site but that only gets defined when the app has already booted and loaded the homepage. Because we make a call to get the menus when the app is booting we cant use this approach as it is undefined on boot.

@owensmooth owensmooth added the enhancement New feature or request label Mar 18, 2019
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

No branches or pull requests

1 participant