Mapbox display issue (api changing without building auspice)

Hello,

Is there any way to update the mapbox api for the auspice without building it? I want to display the map to the global viewers (not localhost) but i don’t want to build the auspice, just use view. Thanks!

Hello @mhananda,

Unfortunately, the API URL is only configurable at build-time. It may be possible to edit minimized build files to replace hardcoded API URL with your own, but I wouldn’t recommend it.

Are you using Auspice through nextstrain, conda, or npm?

– Victor

I am using npm and i am getting a lot of errors when i try to build auspice!

It should be very possible for you to build Auspice locally – supported Node.js/NPM versions are listed in the package.json engines entry. Can you provide details on the exact errors?