chore: fix lint errors

This commit is contained in:
Juan Picado @jotadeveloper 2019-01-27 17:47:00 +01:00
parent 5178e1be5c
commit 36c1866f19
No known key found for this signature in database
GPG Key ID: 18AC54485952D158
1 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,7 @@ import express from 'express';
import { combineBaseUrl, getWebProtocol } from '../../lib/utils';
import Search from '../../lib/search';
import { HEADERS, HTTP_STATUS, WEB_TITLE } from '../../lib/constants';
import { spliceURL } from '../../utils/string';
const { securityIframe } = require('../middleware');
/* eslint new-cap:off */
@ -52,7 +53,6 @@ module.exports = function(config, auth, storage) {
});
});
function renderHTML(req, res) {
const base = combineBaseUrl(getWebProtocol(req.get(HEADERS.FORWARDED_PROTO), req.protocol), req.get('host'), config.url_prefix);
const webPage = template