Advertisement
Guest User

Untitled

a guest
Oct 17th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var fs = require("fs");
  2.  
  3. module.exports = {
  4.     uiPort: process.env.PORT || 1880,
  5.  
  6.     mqttReconnectTime: 15000,
  7.  
  8.     serialReconnectTime: 15000,
  9.  
  10.     debugMaxLength: 1000,
  11.  
  12.     ui: { path: "prosodie" },
  13.     adminAuth: {
  14.        type: "credentials",
  15.        users: [{
  16.            username: "admin",
  17.            password: "$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.",
  18.            permissions: "*"
  19.        }]
  20.     },
  21.  
  22.     functionGlobalContext: {
  23.     },
  24.  
  25.     logging: {
  26.  
  27.         console: {
  28.  
  29.             level: "info",
  30.             metrics: false,
  31.             audit: false
  32.         }
  33.     },
  34.  
  35.     editorTheme: {
  36.  
  37.  
  38.     page: {
  39.         title: "Prosodie",
  40.         favicon: __dirname+"\\img\\prosodie-64.ico",
  41.         css: __dirname+"\\style.css",
  42.         scripts: "/absolute/path/to/custom/js/file"
  43.     },
  44.     header: {
  45.         title: "Prosodie",
  46.         image: __dirname+"\\img\\prosodie-64.png",
  47.         url: "https://www.prosodie.com/fr"
  48.     },
  49.  
  50.     deployButton: {
  51.         type:"simple",
  52.         label:"Deploy",
  53.         icon: "/absolute/path/to/deploy/button/image"
  54.     },
  55.  
  56.     menu: {
  57.         "menu-item-import-library": true,
  58.         "menu-item-export-library": true,
  59.         "menu-item-keyboard-shortcuts": true,
  60.         "menu-item-help": {
  61.             label: "Alternative Help Link Text",
  62.             url: "http://https://nodered.org/"
  63.         }
  64.     },
  65.  
  66.     login: {
  67.         image: __dirname+"\\img\\prosodie-256.png"
  68.     },
  69.  
  70.  
  71.     palette: {
  72.         editable: true, /
  73.         theme: [
  74.             { category: "input", type: ".*", color: "#FFFF00" }
  75.         ]
  76.     },
  77.     projects: {
  78.             enabled: true
  79.     },
  80. },
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement