Qrzy/bgg-xml-api-client

Base URL for v2 needs to omit "www"

protolific opened this issue · 2 comments

Recently using this package has started throwing errors for username & collection requests as a result of using an outdated domain.

Suggested fix is to omit the "www" in the domain for BGG_API_V2_BASE_URL in bgg-xml-api-client/src/helpers/getBaseUrlForResource.ts. The new line should be:

export const BGG_API_V2_BASE_URL = 'https://boardgamegeek.com/xmlapi2/';

For more information, see this related thread on BGG.

Qrzy commented

Hi @protolific, then you very much for this defect report! I will fix that asap.

Qrzy commented

Removed "www" from both base URLs as the mentioned thread provides BGG is redirecting all requests to www.boardgamegeek.com.
Thatnk you again, feel free to contribute if you find any other bugs or have improvements in mind!