mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-10 23:39:31 -05:00
chore: fix lint errors
This commit is contained in:
parent
5178e1be5c
commit
36c1866f19
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,7 @@ import express from 'express';
|
||||||
import { combineBaseUrl, getWebProtocol } from '../../lib/utils';
|
import { combineBaseUrl, getWebProtocol } from '../../lib/utils';
|
||||||
import Search from '../../lib/search';
|
import Search from '../../lib/search';
|
||||||
import { HEADERS, HTTP_STATUS, WEB_TITLE } from '../../lib/constants';
|
import { HEADERS, HTTP_STATUS, WEB_TITLE } from '../../lib/constants';
|
||||||
|
import { spliceURL } from '../../utils/string';
|
||||||
|
|
||||||
const { securityIframe } = require('../middleware');
|
const { securityIframe } = require('../middleware');
|
||||||
/* eslint new-cap:off */
|
/* eslint new-cap:off */
|
||||||
|
@ -52,7 +53,6 @@ module.exports = function(config, auth, storage) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
function renderHTML(req, res) {
|
function renderHTML(req, res) {
|
||||||
const base = combineBaseUrl(getWebProtocol(req.get(HEADERS.FORWARDED_PROTO), req.protocol), req.get('host'), config.url_prefix);
|
const base = combineBaseUrl(getWebProtocol(req.get(HEADERS.FORWARDED_PROTO), req.protocol), req.get('host'), config.url_prefix);
|
||||||
const webPage = template
|
const webPage = template
|
||||||
|
|
Loading…
Add table
Reference in a new issue