text: /*!
   * WeChat - app.js
   * Copyright(c) 2016 wangbin <yowangbin@gmail.com>
   * MIT Licensed
   */
  
  'use strict';
  
  /**
   * Module dependencies.
   */
  
  var config = require('../config');
  var path = require('path');
  var fs = require('fs');
  
  var page = fs.readFileSync(path.join(__dirname, '../views/index.html'), 'utf8')
      .replace('{{version}}', config.version);
  
  module.exports = function* home(next) {
      this.body = page;
  };
  