Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
bodyParser = require('body-parser'),
methodOverride = require('method-override'),
routes = require('./routes'),
path = require('path'),
st = require('serve-static'),
compress = require('compression'),
app = express(),
apiMiddleware = require('bla').apiMiddleware;
// Deps
app
.use(st(process.cwd()))
.use(compress())
.use(morgan('default'))
.use(bodyParser())
.use('/api/:method?', apiMiddleware(__dirname + '/api/**/*.api.js'))
.use(methodOverride());
// Routes
var router = express.Router();
router.get('/', routes.index);
app.use('/', router);
// Start
app.listen(7777, function() { console.log('Start on port 7777'); });
w["between"]="35*1,42*1,79*1,109*1,138*2,208*1,325*1,402*1,518*1";
w["between."]="109*1";
w["beyond"]="402*1";
w["bibliographi"]="465*1,520*51";
w["bigint"]="436*1";
w["bin"]="2*1,15*4,32*1,56*1,65*2,69*1,79*1,84*2,85*1,88*4,97*1,105*6,107*1,124*1,127*2,133*1,145*1,159*1,166*1,186*1,190*1,204*1,221*1,239*1,271*4,281*1,295*1,303*1,323*1,338*2,349*7,383*2,386*1,388*1,398*4,413*1,423*1,430*1,439*3,484*1,490*4,498*1,502*1,525*1,530*4";
w["bin.jar"]="144*1,192*1,276*1,450*1,461*1,480*1";
w["binari"]="15*2,18*1,42*1,56*1,69*1,85*1,97*1,103*1,107*1,124*1,133*1,145*1,159*1,166*1,186*1,190*1,191*2,204*1,221*1,238*3,239*1,295*1,322*1,323*1,365*1,388*1,413*1,445*2,460*1,484*1,502*1,525*1";
w["binary."]="365*1,460*1";
w["binarycloud"]="26*53,30*1,216*1,465*1,520*5";
w["binarycloud."]="26*2";
w["binarycloud.tigris.org"]="520*2";
w["binarycloud:"]="26*46,30*1";
w["bit"]="138*1,158*1,236*2,399*1,460*1,470*1";
w["bla"]="442*1";
w["bla.xml"]="442*1";
w["black"]="27*1,189*1";
w["blah"]="496*1";
w["ble"]="318*1,403*1";
w["blee"]="465*2";
w["block"]="43*5,109*1,121*1,362*1,408*1";
w["block."]="121*1,408*1";
w["bname"]="99*7";
w["bo"]="42*1";
w["bob"]="138*1,441*1";
w["bodi"]="42*2,138*1,289*1,402*1";
w["bold"]="138*6";
w["book"]="79*1,138*5,210*3,280*1,351*51,402*2,470*1,491*4,520*7,529*4";
w["book."]="402*1";
w["boolean"]="17*3,23*1,33*1,56*1,69*7,73*4,85*3,87*1,94*1,97*6,107*2,109*4,111*1,117*3,123*1,124*2,130*1,133*6,145*2,146*2,159*9,166*1,169*3,181*5,182*3,186*1,190*3,191*1,194*1,197*1,200*8,204*3,210*1,217*1,221*7,227*1,232*2,237*2,238*7,240*2,250*1,252*2,255*3,257*5,259*1,270*1,277*3,288*2,295*7,297*1,317*1,322*1,323*3,325*3,326*1,327*2,333*1,335*2,340*2,356*3,357*3,359*3,365*1,369*3,386*5,388*3,389*4,395*1,403*5,413*1,416*1,440*2,445*4,447*4,448*3,451*11,455*2,456*7,459*1,460*9,462*1,464*1,475*4,484*4,486*2,487*1,493*7,502*3,504*2,505*3,506*2,518*11,523*3,525*3,527*1";
w["bootstrap"]="200*3,405*3";
w["border"]="117*1";