X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fframework%2Fwidgets%2Fskyquake_container%2FskyquakeNav.jsx;h=8814a18faf3072c77ce892c2868db346b4021bc9;hp=73a2f021e7670d1f99297580c8c53f96433043ff;hb=f2dc2462571800e62cba969964de621dca09299c;hpb=e29efc315df33d546237e270470916e26df391d6 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;