Files: d7bb4a1cb809f7db3135cc7d21052d9c2636bd45 / render.js
375 bytesRaw
1 | require('babel-core/register') |
2 | require('css-modules-require-hook') |
3 | |
4 | const config = require('app/config') |
5 | const createRender = require('app/render') |
6 | const Url = require('url') |
7 | |
8 | const server = createRender(config) |
9 | |
10 | server.listen(config.render.url.port, function () { |
11 | const renderUrl = Url.format(config.render.url) |
12 | console.log(`render server listening at ${renderUrl}`) |
13 | }) |
14 |
Built with git-ssb-web