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

Configure a custom proxy using webpack.config.js #445

Closed
mstn opened this issue Sep 12, 2016 · 1 comment
Closed

Configure a custom proxy using webpack.config.js #445

mstn opened this issue Sep 12, 2016 · 1 comment

Comments

@mstn
Copy link

mstn commented Sep 12, 2016

Thanks for the great work. I have a question about how to set a custom proxy for remote requests. As far I understand from #208, you suggest to implement a custom express server. I was wondering if it is possible to pass a proxy configuration to the webpack.config.js file defined in .storybook directory in this way. I tried without success, but I am not a webpack expert.

@arunoda
Copy link
Member

arunoda commented Sep 15, 2016

We don't recommend that method as we are not documented that.
Suggest way is build a storybook into a static app and deploy it anywhere you want.
(You can setup some basic auth basic auth setup pretty easily)

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

No branches or pull requests

2 participants