<commit_before>var express = require('express')
var path = require('path')
var imgs = require('cloud/routes/imgs')
var app = express()

// App 全局配置
app.set('views','cloud/views');   // 设置模板目录
app.set('view engine', 'hbs');    // 设置 template 引擎
app.use(express.bodyParser());    // 读取请求 body 的中间件

app.get('/', function(req, res) {
  res.send('Jade Gu')
})<commit_msg>change<commit_after>var express = require('express')
var path = require('path')
var imgs = require(path.join(__dirname, 'routes/imgs'))
var app = express()
var bodyParser = require('body-parser')

// App 全局配置
app.set('views','cloud/views');   // 设置模板目录
app.set('view engine', 'hbs');    // 设置 template 引擎
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false }))
app.use(express.static('public'))

app.get('/', function(req, res) {
  res.send('Jade Gu')
})
{'fraction_non_alphanumeric': 0.20260663507109006, 'fraction_numerical': 0.0, 'mean_word_length': 4.7482993197278915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2790387', 'n_tokens_mistral': 319, 'n_tokens_neox': 325, 'n_words': 67}