-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.js
More file actions
22 lines (21 loc) · 665 Bytes
/
Copy pathapp.js
File metadata and controls
22 lines (21 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
* app.js.
* User: q13
* Date: 12-9-15
* Time: 下午6:51
*/
var http = require('http');
var preConfig=require("./test/pre-config"),
archive=require("./test/archive"),
update=require("./test/update"),
remove=require("./test/remove"),
path=require("path");
//preConfig.test(path.resolve("example"));
//archive.test(path.resolve("example"));
update.test(path.resolve("example"));
//remove.test(path.resolve("example"));
/*http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Test for project\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');*/