-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig-example.js
20 lines (20 loc) · 1.36 KB
/
config-example.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// This config is for example only and won't be used
// Create a custom config by copying config-example.js to config.js and setting values there
config = {
app: { //These are global app settings that the user cannot change
"title": "CESMII Machine View",
"logo": "customlogo.png", //If you have a custom logo, you can reference it here. Otherwise, leave this empty.
"style": "custom.css", //If you have a custom css, you can reference it here. Otherwise, leave this empty.
"updateRate": 5000, //High update rates will have global performance impact -- this interface is not intended for high speed data!
"machineTypes": ["example"], //To support a different type, you must load or create TypeSupport resources
"logLevel": "error" //Levels are: error, warn, info, trace
},
user: { //These are defaults that the user can over-ride. Get them from your SMIP instance.
"smipUrl": "https://demo.cesmii.net/graphql",
"authenticator": "YOUR_AUTHENTICATOR",
"password": "YOUR_AUTHENTICATOR_PASSWORD", //For test only -- do not hard-code a password in prod. It will be visible to any client!
"username": "YOUR_AUTHENTICATOR_USERNAME",
"role": "YOUR_AUTHENTICATOR_ROLE",
"modelParentId": 28221, //the smip instance id of the parent
}
};