Files: 617c71ec627aff8d0c9078f2a28d9f663e9e8613 / proxy.js
349 bytesRaw
1 | const config = require('app/config') |
2 | const createServer = require('app/proxy').createServer |
3 | const Url = require('url') |
4 | |
5 | const server = createServer(config) |
6 | |
7 | server.listen(config.proxy.port, function () { |
8 | console.log(JSON.stringify({ |
9 | name: 'proxy', |
10 | level: 'info', |
11 | message: `proxy server listening on port ${config.proxy.port}` |
12 | })) |
13 | }) |
14 |
Built with git-ssb-web