Select Git revision
config.js 1.21 KiB
// config.js leverjs server configuration settings
//
// you should be able to edit this file and have updates take effect even if server is
// running
//
// you can keep git from updating this file by issuing the following:
// git update-index --skip-worktree ./leverjs/config.js
var config={};
config.jwksUri=`https://leverjs.auth0.com/.well-known/jwks.json`;
config.aud= '{https://leverjs.auth0.com/api/v2/}';
config.issuer= `https://leverjs.auth0.com/`;
// pi is case insensitive
config.defaultPI= 'cohen';
// other pi( case insensitive) matches portions of server paths with pi field (set on auth0.com user property)
// here, steve will be authorized to edit any url that contains '/path/To/StevesStuff'
// important -- if you have somewhere else in your leverjs folder tree with that path, steve will have
// access there as well. you the man steve!
config.otherPI=[ ['/path/To/StevesStuff/','steve'], ];
config.debugMatlab=false;
// set logLevel to 0 to shut off matlab chatter from child procs
// set logLevel to 1-2 to see high level matlab chatter
// set logLevel to 3-5 to see full debug spew
config.logLevel=0;
if (('undefined'===typeof IS_NODE) || (IS_NODE)) {
module.exports = config;
}