public static function Nodejs::initConfig in Node.js integration 6
Same name and namespace in other branches
- 7 nodejs.module \Nodejs::initConfig()
8 calls to Nodejs::initConfig()
File
- ./
nodejs.module, line 593
Class
Code
public static function initConfig() {
if (!isset(self::$config)) {
self::$config = nodejs_get_config();
self::$headers = array(
'NodejsServiceKey' => self::$config['serviceKey'],
);
self::$baseUrl = nodejs_get_url(self::$config);
}
}