blob: cd929a143c92f4088dca7610488d94f8b52b3570 [file] [log] [blame]
talasila4ad39a52017-02-07 15:03:57 -05001'use strict';
2let express = require('express');
3let cors = require('cors');
4let app = express();
5
6app.use(cors());
7
8app.use('/ecompportal', require('./ecomp/router'));
9
10let server = app.listen(9001, function () {
11 let host = server.address().address;
12 let port = server.address().port;
13
14 console.log('Example app listening at http://%s:%s', host, port);
15});
16