-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
47 lines (40 loc) · 1.31 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
var path = require('path')
var extend = require('extend')
var fs = require('fs-extra')
var certPath = 'C:/ProgramData/Qlik/Sense/Repository/Exported Certificates/.Local Certificates'
var clientPath = 'C:/Program Files/Qlik/Sense/Client'
var chartCachePath = path.join(__dirname, 'public/data/chartCache/')
var thumbnailsPath = path.join(__dirname, 'public/data/thumbnails/')
var viewPath = path.join(__dirname, 'server/views/')
var routePath = path.join(__dirname, 'server/routes/')
var publicPath = path.join(__dirname, 'public/')
var config = extend(true, {
useHttps: true,
port: 1337,
enginePort: 4747,
hostfile: 'C:/ProgramData/Qlik/Sense/Host.cfg',
engineuser: 'UserDirectory=Internal;UserId=sa_repository',
certificates: {
client: path.resolve(certPath, 'client.pem'),
server: path.resolve(certPath, 'server.pem'),
root: path.resolve(certPath, 'root.pem'),
client_key: path.resolve(certPath, 'client_key.pem'),
server_key: path.resolve(certPath, 'server_key.pem')
},
chartCachePath: chartCachePath,
thumbnailsPath: thumbnailsPath,
viewPath: viewPath,
publicPath: publicPath,
clientPath: clientPath,
thumbnailSize: {
width: 800,
height: 600
},
cachedefinitions: true,
/**
* IF RUNNING LOWER VERSION THEN 3.0 OF QLIK SENSE
* SET TOGGLE TO TRUE
*/
pre30: false
});
module.exports = config;