add request-services to default scripts.

This commit is contained in:
howard-stearns 2018-06-04 12:59:08 -07:00
parent 24a67c6008
commit 254abfa04a
2 changed files with 2 additions and 3 deletions

View file

@ -12,6 +12,7 @@
//
var DEFAULT_SCRIPTS_COMBINED = [
"system/request-service.js",
"system/progress.js",
"system/away.js",
"system/audio.js",

View file

@ -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");