Commit e974d672 authored by Johan Helsing's avatar Johan Helsing

Make gerrit hostname configurable through an env var

parent 6c49ec9c
......@@ -7,7 +7,7 @@ const express = require('express');
const serveIndex = require('serve-index');
const { scheduleJob } = require('node-schedule');
const gerritHost = 'codereview.qt-project.org';
const gerritHost = process.env.GERRIT_HOSTNAME || 'codereview.qt-project.org';
const gerritSshPort = 29418;
const readLastLines = require('read-last-lines');
const parseVersion = require('./parseVersion');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment