Browse Source

Merge branch 'master' of git.runa.moe:syzoj/syzoj_ruc

pull/6/head
Menci 6 years ago
parent
commit
253befd173
  1. 2
      app.js

2
app.js

@ -29,7 +29,7 @@ global.syzoj = {
app.server = require('http').createServer(app); app.server = require('http').createServer(app);
if (module.parent) { if (!module.parent) {
// Loaded by `require()`, not node CLI. // Loaded by `require()`, not node CLI.
app.server.listen(parseInt(syzoj.config.port), syzoj.config.hostname, () => { app.server.listen(parseInt(syzoj.config.port), syzoj.config.hostname, () => {
this.log(`SYZOJ is listening on ${syzoj.config.hostname}:${parseInt(syzoj.config.port)}...`); this.log(`SYZOJ is listening on ${syzoj.config.hostname}:${parseInt(syzoj.config.port)}...`);

Loading…
Cancel
Save