Qortal UI - Main Code Repository A User Interface for the Qortal Blockchain Project. Truly decentralized web hosting, application hosting, communications, data storage, and full infrastructure for the future global decentralized digital world.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
655 B

3 years ago
const path = require("path")
const uiCore = require('./core/ui-core.js')
3 years ago
const createServer = uiCore('server')
const config = require('./config/config.js')
const pluginsController = require('./plugins/default-plugins.js')
3 years ago
const qortalPlugins = pluginsController('plugins')
const plugins = [
...qortalPlugins
]
const rootDir = process.env.NODE_ENV === 'production' ? __dirname : __dirname
const conf = {
...config,
build: {
...config.build,
options: {
...config.build.options,
outputDir: path.join(rootDir, '/builtWWW')
}
}
}
const server = createServer(conf, plugins)
server.start()