Skip to content

Commit c47d212

Browse files
committed
chore: lint
1 parent eefc944 commit c47d212

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/https.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ function generateWildcardPatterns(domain: string): string[] {
4242
function generateBaseConfig(options: ReverseProxyConfigs, verbose?: boolean): TlsConfig {
4343
const domains = extractDomains(options)
4444
const sslBase = path.join(os.homedir(), '.stacks', 'ssl')
45-
console.log('config.https', config.https)
4645
const httpsConfig: Partial<CustomTlsConfig> = options.https === true
4746
? {
4847
caCertPath: path.join(sslBase, 'rpx-ca.crt'),

src/start.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable no-console */
22
import type { SecureServerOptions } from 'node:http2'
33
import type { ServerOptions } from 'node:https'
4-
import type { BaseReverseProxyConfig, MultiReverseProxyConfig, ProxySetupOptions, ReverseProxyConfigs, ReverseProxyOption, ReverseProxyOptions, SingleReverseProxyConfig, SSLConfig } from './types'
4+
import type { MultiReverseProxyConfig, ProxySetupOptions, ReverseProxyConfigs, ReverseProxyOption, ReverseProxyOptions, SingleReverseProxyConfig, SSLConfig } from './types'
55
import * as fs from 'node:fs'
66
import * as http from 'node:http'
77
import * as https from 'node:https'
@@ -565,8 +565,6 @@ export async function startProxies(options?: ReverseProxyOptions): Promise<void>
565565

566566
debugLog('proxies', 'Starting proxies setup', isMultiProxyConfig(options) ? options.verbose : options.verbose)
567567

568-
console.log('options', options)
569-
570568
if (options.https) {
571569
await generateCertificate(options as ReverseProxyConfigs)
572570
}

0 commit comments

Comments
 (0)