Update: Read API Hostname from LocalStorage
based on the implementation from coscine/frontend/libraries/api-client!99 (comment 2458307)
Edited by Petar Hristov
based on the implementation from coscine/frontend/libraries/api-client!99 (comment 2458307)