PokeAPI / ditto

Tool for meta operations over PokéAPI data
Apache License 2.0
49 stars 11 forks source link

Replace dynamic URL placement with a guided solution #13

Closed sargunv closed 6 years ago

sargunv commented 6 years ago

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).