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