Hi,
does anyone know why my config.host is undefined?
I thought, the var config should be part of the global scope (the file: server.js which we see below)
thanks.
import { Meteor } from 'meteor/meteor';
var QRS = require('qrs');
var config = {
"host": '127.0.0.1',
"useSSL": false,
"xrfkey": 'ABCDEFG123456789',
"authentication": "header",
"virtualProxy": "hdr",
"headerKey": 'hdr-usr',
"headerValue": '2008ENT\\Qlik',
isSecure: true
};
var qrs = new QRS(config);
Meteor.startup(() => {
var qsocks = require('qsocks');
var config = {
host: config.host,
isSecure: true
};