Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/*!
* Dependencies.
*/
var assert = require('assert')
, loopback = require('../loopback')
, debug = require('debug')
, path = require('path')
, request = require('browser-request')
, Connector = require('loopback-datasource-juggler').Connector
, util = require('util');
/*!
* Export the ServerConnector class.
*/
module.exports = ServerConnector;
/*!
* Create an instance of the connector with the given `settings`.
*/
function ServerConnector(settings, dataSource) {
Connector.call(this, 'server', settings);
this.settings = settings;
this.dataSource = dataSource;