mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 23:03:00 +02:00
use location.metaverseServerUrl instead of hardcoded value.
This commit is contained in:
parent
f662571cab
commit
84fd17bd88
3 changed files with 4 additions and 2 deletions
|
@ -27,7 +27,7 @@ Item {
|
|||
|
||||
// Properties
|
||||
property string profileUrl: "";
|
||||
property string defaultBaseUrl: "http://highfidelity.com";
|
||||
property string defaultBaseUrl: location.metaverseServerUrl;
|
||||
property string connectionStatus : ""
|
||||
property string uuid: ""
|
||||
property string displayName: ""
|
||||
|
|
|
@ -2011,6 +2011,7 @@ void Application::initializeUi() {
|
|||
rootContext->setContextProperty("Scene", DependencyManager::get<SceneScriptingInterface>().data());
|
||||
rootContext->setContextProperty("Render", _renderEngine->getConfiguration().get());
|
||||
rootContext->setContextProperty("Reticle", getApplicationCompositor().getReticleInterface());
|
||||
rootContext->setContextProperty("location", DependencyManager::get<AddressManager>().data());
|
||||
|
||||
rootContext->setContextProperty("ApplicationCompositor", &getApplicationCompositor());
|
||||
|
||||
|
|
|
@ -299,7 +299,8 @@ function updateUser(data) {
|
|||
// User management services
|
||||
//
|
||||
// These are prototype versions that will be changed when the back end changes.
|
||||
var METAVERSE_BASE = 'https://metaverse.highfidelity.com';
|
||||
var METAVERSE_BASE = location.metaverseServerUrl;
|
||||
|
||||
|
||||
function request(url, callback) { // cb(error, responseOfCorrectContentType) of url. General for 'get' text/html/json, but without redirects.
|
||||
var httpRequest = new XMLHttpRequest();
|
||||
|
|
Loading…
Reference in a new issue