PokeAPI/api-data

Make the repo independent of base url

Closed this issue · 0 comments

Stop hardcoding it and depend on an env variable (set in Netlify). Users launching their own instance can set their own too. If the base url isn't provided, use relative paths (same as empty base url).