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