From 254abfa04a6ed73c2a3fcc2ee39d2bd6c269b791 Mon Sep 17 00:00:00 2001 From: howard-stearns Date: Mon, 4 Jun 2018 12:59:08 -0700 Subject: [PATCH] add request-services to default scripts. --- scripts/defaultScripts.js | 1 + scripts/system/request-service.js | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) 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");