-
Notifications
You must be signed in to change notification settings - Fork 39
Add assets_dir option for the server #243
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
Conversation
colour output of validation errors
Adding support for binding using zat server
…s to deserialise rather than a generic JSON Parser error
when we expect a network response to be JSON, print it out if it fail…
handle false values in settings files if there is also a default
bump zendesk apps support to 3.1.5
show a useful error when there is no JS runtime at all
update location name in template
Add new default assets
Require date on check_for_update
use en.yml as the source
…me ruby versions otherwise
skip message when flag set
[ZD3408278][AF-1046] 'zat' errors out on 'clean' with "uninitialized" FileUtils
[AF-1062] Make apps collapsible in ZAT
Update hc links
13c8549 to
1985c9f
Compare
|
Why have zat listen on a different port? Instead of a webpack devserver, you run |
|
@ocke I agree that |
|
I'm closing this PR due to low activity and other workflow has been identified, thanks. |
This adds a
--assets_dir http://proxy-server/option for the server which enables fronting zat server with a different proxy server.I was curious if I could use webpack and webpack dev server to develop Zendesk apps. I setup webpack dev server to listen at http://localhost:4567 and then ran
zat server --port 4568and added a proxy config to webpack to proxy requests to http://localhost:4568.However, the proxied app.js file was returning http://localhost:4568/ as the assetUrlPrefix which then caused the loaded app to not be the one from webpack. Opening up the assets_dir to be configured solves this problem.
See https://github.com/rmarscher/zendesk-app-webpack-example for a complete example. Thank you.