mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-27 07:45:54 +00:00
Clean Code
This commit is contained in:
parent
bb98fc87eb
commit
26fc642acc
@ -1,92 +1,49 @@
|
|||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
const user = {
|
const user = {
|
||||||
// management can be enabled as explicit for public API servers when needed
|
node: 0,
|
||||||
node: 0,
|
nodeSettings: {
|
||||||
knownNodes: [
|
pingInterval: 10 * 1000, // (10 secs)
|
||||||
// Mainnet nodes
|
},
|
||||||
{
|
language: 'english', // default...english
|
||||||
protocol: 'http',
|
theme: 'light',
|
||||||
domain: '127.0.0.1',
|
server: {
|
||||||
port: 12391,
|
writeHosts: {
|
||||||
enableManagement: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
{
|
relativeTo: path.join(__dirname, '../'),
|
||||||
protocol: 'http',
|
primary: {
|
||||||
domain: 'node1.qortal.org',
|
domain: '0.0.0.0',
|
||||||
port: 12391,
|
address: '0.0.0.0',
|
||||||
enableManagement: false,
|
port: 12388,
|
||||||
},
|
directory: './src/',
|
||||||
{
|
page404: './src/404.html',
|
||||||
protocol: 'http',
|
host: '0.0.0.0',
|
||||||
domain: 'node2.qortal.org',
|
},
|
||||||
port: 12391,
|
},
|
||||||
enableManagement: false,
|
tls: {
|
||||||
},
|
enabled: false,
|
||||||
// Testnet nodes
|
options: {
|
||||||
{
|
key: '',
|
||||||
protocol: 'http',
|
cert: '',
|
||||||
domain: '127.0.0.1',
|
},
|
||||||
port: 62391,
|
},
|
||||||
enableManagement: false,
|
constants: {
|
||||||
},
|
pollingInterval: 10000, // How long between checking for new unconfirmed transactions and new blocks (in milliseconds).
|
||||||
{
|
workerURL: '/build/worker.js',
|
||||||
protocol: 'http',
|
},
|
||||||
domain: 'node1.qortal.org',
|
|
||||||
port: 62391,
|
|
||||||
enableManagement: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
protocol: 'http',
|
|
||||||
domain: 'node2.qortal.org',
|
|
||||||
port: 62391,
|
|
||||||
enableManagement: false,
|
|
||||||
},
|
|
||||||
|
|
||||||
],
|
|
||||||
nodeSettings: {
|
|
||||||
pingInterval: 10 * 1000, // (10 secs)
|
|
||||||
},
|
|
||||||
version: 'v1.6.3', // TODO: Set this dynamically...
|
|
||||||
language: 'english', // default...english
|
|
||||||
theme: 'light',
|
|
||||||
server: {
|
|
||||||
writeHosts: {
|
|
||||||
enabled: true,
|
|
||||||
},
|
|
||||||
relativeTo: path.join(__dirname, '../'),
|
|
||||||
primary: {
|
|
||||||
domain: '0.0.0.0',
|
|
||||||
address: '0.0.0.0',
|
|
||||||
port: 12388,
|
|
||||||
directory: './src/',
|
|
||||||
page404: './src/404.html',
|
|
||||||
host: '0.0.0.0',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
tls: {
|
|
||||||
enabled: false,
|
|
||||||
options: {
|
|
||||||
key: '',
|
|
||||||
cert: '',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
constants: {
|
|
||||||
pollingInterval: 10000, // How long between checking for new unconfirmed transactions and new blocks (in milliseconds).
|
|
||||||
workerURL: '/build/worker.js',
|
|
||||||
},
|
|
||||||
|
|
||||||
// Notification Settings (All defaults to true)
|
// Notification Settings (All defaults to true)
|
||||||
notifications: {
|
notifications: {
|
||||||
q_chat: {
|
q_chat: {
|
||||||
playSound: true,
|
playSound: true,
|
||||||
showNotification: true,
|
showNotification: true,
|
||||||
},
|
},
|
||||||
block: {
|
block: {
|
||||||
playSound: true,
|
playSound: true,
|
||||||
showNotification: true,
|
showNotification: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = user
|
module.exports = user
|
||||||
|
Loading…
x
Reference in New Issue
Block a user