Instead of guessing the URL based on headers, add a runtime flag to ditto serve to specify replacement URL. Fall back to relative links when it's not specified.
We should also ensure external links don't fall prey to replacement (sprites are broken because of that atm).
Instead of guessing the URL based on headers, add a runtime flag to
ditto serve
to specify replacement URL. Fall back to relative links when it's not specified.We should also ensure external links don't fall prey to replacement (sprites are broken because of that atm).