Files: c652f2a4c449a7e0dc4a5a2a8258c9b2ab47a00a / 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