Make the URL/Endpoint for Map data configurable

Hi!

I was wondering, is there a possibility to host a local map-data server where any map-data is being fetched from?
Because, when switching to the “Map” menu (or else) the map data is fetched from https://basemaps.cartocdn.com/* - witch will break when there’s no internet connection (and has some privacy implications)…

Edit: So, what I’ve found is, that one can install an on-premise version of carto (see On-Premises Private - Home). But, can I force the UI to load data from that instance instead of fetching data through the public CDN?

Thx!