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 API proxy and query API by config variable #18

Open
pcwinters opened this issue Sep 14, 2013 · 0 comments
Open

Remove API proxy and query API by config variable #18

pcwinters opened this issue Sep 14, 2013 · 0 comments

Comments

@pcwinters
Copy link
Owner

The client app currently proxies the API app. Remove this proxy and dependency.

The client app should query the API with an absolute URL. This URL should be configured as an environment variable and transmitted to the client by embedding the JSON string of a config object in the DOM.

In Jade:

#initialState= JSON.stringify({"apiURI":"http://something"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant