tera/Source/run-node.js

11 lines
298 B
JavaScript
Raw Normal View History

2019-02-10 19:53:54 +00:00
const fs = require('fs');
const os = require('os');
if(!global.DATA_PATH || global.DATA_PATH==="")
global.DATA_PATH="../DATA";
global.CODE_PATH=process.cwd();
global.HTTP_PORT_NUMBER = 8080;
if(global.LOCAL_RUN===undefined)
global.LOCAL_RUN=0;
require('./process/main-process');