Skip to content

Commit

Permalink
Update Status
Browse files Browse the repository at this point in the history
  • Loading branch information
a632079 committed May 18, 2018
1 parent 54c53f6 commit 6de16df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controllers/status.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict'
// Import Packages
const path = require('path')
const nconf = require('nconf')
const cache = require(path.join(__dirname, '../cache'))
const _ = require('lodash')
// const winston = require('winston')
Expand Down Expand Up @@ -160,6 +161,7 @@ module.exports = async (ctx, next) => {
// hosts = Object.assign({}, hosts, fetchDayMap[1])
ctx.body = {
name: pkg.name,
host: nconf.get('api_name') ? nconf.get('api_name') : '未分配',
version: pkg.version,
message: 'Love us? donate at https://hitokoto.cn/donate',
website: 'https://hitokoto.cn',
Expand Down

0 comments on commit 6de16df

Please sign in to comment.