X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fframework%2Fwidgets%2Fskyquake_container%2FskyquakeNav.jsx;fp=skyquake%2Fframework%2Fwidgets%2Fskyquake_container%2FskyquakeNav.jsx;h=8814a18faf3072c77ce892c2868db346b4021bc9;hb=4ef8c40c2c013c21f5487330daeab2561ba25fb3;hp=73a2f021e7670d1f99297580c8c53f96433043ff;hpb=7f02fe01671d62e6c3c9a523cf0d21b251960365;p=osm%2FUI.git diff --git a/skyquake/framework/widgets/skyquake_container/skyquakeNav.jsx b/skyquake/framework/widgets/skyquake_container/skyquakeNav.jsx index 73a2f021e..8814a18fa 100644 --- a/skyquake/framework/widgets/skyquake_container/skyquakeNav.jsx +++ b/skyquake/framework/widgets/skyquake_container/skyquakeNav.jsx @@ -23,7 +23,8 @@ import Crouton from 'react-crouton'; import 'style/common.scss'; //Temporary, until api server is on same port as webserver -var rw = require('utils/rw.js'); +import rw from 'utils/rw.js'; + var API_SERVER = rw.getSearchParams(window.location).api_server; var UPLOAD_SERVER = rw.getSearchParams(window.location).upload_server;