Figured out a little bit. Geonode uses geonode_mapstore_client, which has a bunch of harcoded urls:
Also, you can set MAPSTORE_TRANSLATIONS_PATH and MAPSTORE_EXTENSIONS_FOLDER_PATH in settings.py (https://github.com/GeoNode/geonode-mapstore-client/blob/master/geonode_mapstore_client/context_processors.py)
These can be also changed here, or overriden
And finally, there's one more config (json) here