diff --git a/app.js b/app.js index b1199851c002446b286ed2136fc29ce1d106e82b..7cee240198cf3c672e5c7cab7f6d50fa9d66bbcc 100644 --- a/app.js +++ b/app.js @@ -3,7 +3,6 @@ var express = require('express'); var path = require('path'); var cookieParser = require('cookie-parser'); var logger = require('morgan'); -var cors = require("cors"); var kysRouter = require("./routes/kys"); var znlRouter = require("./routes/znl"); @@ -11,7 +10,7 @@ var lyfRouter = require("./routes/lyf"); var whzRouter = require("./routes/whz"); var app = express(); -app.use(cors()); + // view engine setup app.set('views', path.join(__dirname, 'views')); app.set('view engine', 'jade');