run-task.js 366 Bytes
'use strict';

const path = require('path');
const config = require('./config/config');
const yohoLib = require('yoho-node-lib');

// set root path
global.ROOT_PATH = path.join(__dirname, '');

// 全局注册library
yohoLib.global(config);

// set root path
global.ROOT_PATH = path.join(__dirname, '');

const seoTask = require('./seo-task');

seoTask.intHandle();