diff --git a/scripts/defaultScripts.js b/scripts/defaultScripts.js index 59a51830be..6ea9f4cb81 100644 --- a/scripts/defaultScripts.js +++ b/scripts/defaultScripts.js @@ -12,6 +12,7 @@ // var DEFAULT_SCRIPTS_COMBINED = [ + "system/request-service.js", "system/progress.js", "system/away.js", "system/audio.js", diff --git a/scripts/system/request-service.js b/scripts/system/request-service.js index 3c3b9ccc04..b57f2d4cd7 100644 --- a/scripts/system/request-service.js +++ b/scripts/system/request-service.js @@ -24,9 +24,7 @@ // We will then asynchonously call fromScript({id: theSameString, method: 'http.response', error: errorOrFalsey, response: body}) // on that root object. // RootHttpRequest.qml does this. - // 2. If the uri used (computed from byNameOptions, see request.js) begins with '/', we will: - // a. Prepend Account.metaverseServerUR. - // b. Use the appropriate auth. + // 2. If the uri used (computed from byNameOptions, see request.js) is to our metaverse, we will use the appropriate auth. var request = Script.require('request').request; var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");