<commit_before>//Routes---controllers
//File: routes/devices.js
var record    = require('../models/record.js');

exports.init =function (app) {
  app.get('/', function (req, res){
    res.sendfile('./index.html');
  })

  app.get('/records', function (req, res){
    //res.send('Get All records')
    res.sendfile('./index.html');
  })

  app.post('/records', function (req, res){
    res.sendfile('./index.html');
  })

  app.get('/records/number', function (req, res){
    res.send('Get count')
  })

  app.get('/realtime', function (req, res){
    res.sendfile('./realtime.html')
    /*bt.on('scanning',function(){
    res.send('Scanning......1')
    console.log("78978798")
   })*/

    /*bt.on('device_found',function(peripheral){
    var btdevice ={MAC:peripheral.uuid}
    io.socket.emit('bt',btdevice)
   })
   bt.start(25)*/

  })
}<commit_msg>various fixes<commit_after>//Routes---controllers
//File: routes/devices.js
var record    = require('../models/record.js');

exports.init =function (app) {
  app.get('/', function (req, res){
    res.sendfile('./index.html');
  })

  app.get('/records', function (req, res){
    //res.send('Get All records')
    res.sendfile('./index.html');
  })

  app.post('/records', function (req, res){
    res.sendfile('./index.html');
  })

  app.get('/records/number', function (req, res){
    res.send('Get count')
  })

  app.get('/realtime', function (req, res){
    res.sendfile('./realtime.html')
    
  })
}
{'fraction_non_alphanumeric': 0.22960932145305005, 'fraction_numerical': 0.0075394105551747775, 'mean_word_length': 3.089635854341737, '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': '3709801', 'n_tokens_mistral': 521, 'n_tokens_neox': 500, 'n_words': 86}