Open philippemiguet opened 5 years ago
How will it work for serving images from SSR using that same function. It will result in https://local.buffer.com:8080/static/buffer.png
.
Dan - If webpack dev server is setup to be a proxy, it will serve the image on the express site.
Phil - When we will work on the next version, we should try to make it work, and have some documentation for the team regarding what config to add to webpack to serve images
Purpose
From this discussion, reduce boilerplate for teams who upload the build file using https://github.com/bufferapp/buffer-static-upload.
Example of boilerplate we want to reduce: here
Idea
We can allow to pass a default
localHostURL
parameter to be used whenuseLocal
is true.It would result in: