-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig.js
50 lines (49 loc) · 1.83 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
48
49
50
// Update these values to match those of your Server URL & DriveWorks Group Alias
const config = {
serverUrl: "",
groupAlias: "",
// (Optional) Set Specification ping interval - in seconds
// A Specification will timeout after a configured period of inactivity (see DriveWorksConfigUser.xml).
// This function prevents a Specification timing out as long as the page is in view.
// Disable the ping by setting to 0
specificationPingInterval: 30,
// (Optional) Enter custom redirect URLs for login/logout and Project/DriveApp close/cancel
login: {
redirectUrl: "projects.html",
},
logout: {
redirectUrl: "index.html",
},
project: {
redirectOnClose: "details.html",
redirectOnCancel: "projects.html",
},
driveApp: {
redirectOnClose: "details.html",
redirectOnCancel: "drive-apps.html",
},
// (Optional) Configure 'Run' view
run: {
showWarningOnExit: false, // Toggle warning dialog when exiting "Run" view with potentially unsaved changes (where supported)
loadCustomProjectAssets: {
scripts: false,
styles: false,
}
},
// (Optional) Configure 'Details' view
details: {
updateInterval: 5, // Interval to refresh content - in seconds
showStartNewSpecificationAction: true,
},
// (Optional) Configure the query function
// Enter a default Group Alias and/or Project name to be used (when none are passed in the query string)
// Choose how sessions are handled
query: {
defaultGroupAlias: "",
defaultProjectName: "",
autoLogin: false,
requireNewSession: false,
requireExactAlias: false,
},
loginReturnUrls: true, // Toggle appending return urls to restore the previous location when redirected to the login form
};