mirror of
https://github.com/avwo/whistle.git
synced 2026-10-21 08:46:22 +08:00
11 lines
349 B
JavaScript
11 lines
349 B
JavaScript
exports.reqRulesServer = function(server) {
|
|
server.on('request', function(req, res) {
|
|
res.end('tp.w2.org/index.html resType://html rulesFile://{rulesFile.js}\nths.w2.org file://{test.json}');
|
|
});
|
|
};
|
|
|
|
exports.tunnelRulesServer = function(server) {
|
|
server.on('request', function(req, res) {
|
|
res.end('ths.w2.org filter://https');
|
|
});
|
|
}; |