fix(portproxy): Fixed typographical errors in comments within PortProxy class.
This commit is contained in:
parent
f336f25535
commit
1cb6302750
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-02-27 - 3.18.2 - fix(portproxy)
|
||||||
|
Fixed typographical errors in comments within PortProxy class.
|
||||||
|
|
||||||
|
- Corrected typographical errors in comments within the PortProxy class.
|
||||||
|
|
||||||
## 2025-02-27 - 3.18.1 - fix(PortProxy)
|
## 2025-02-27 - 3.18.1 - fix(PortProxy)
|
||||||
Refactor and enhance PortProxy test cases and handling
|
Refactor and enhance PortProxy test cases and handling
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartproxy',
|
name: '@push.rocks/smartproxy',
|
||||||
version: '3.18.1',
|
version: '3.18.2',
|
||||||
description: 'A powerful proxy package that effectively handles high traffic, with features such as SSL/TLS support, port proxying, WebSocket handling, and dynamic routing with authentication options.'
|
description: 'A powerful proxy package that effectively handles high traffic, with features such as SSL/TLS support, port proxying, WebSocket handling, and dynamic routing with authentication options.'
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import * as plugins from './plugins.js';
|
import * as plugins from './plugins.js';
|
||||||
|
|
||||||
/** Domain configuration with per‐domain allowed port ranges */
|
/** Domain configuration with per-domain allowed port ranges */
|
||||||
export interface IDomainConfig {
|
export interface IDomainConfig {
|
||||||
domains: string[]; // Glob patterns for domain(s)
|
domains: string[]; // Glob patterns for domain(s)
|
||||||
allowedIPs: string[]; // Glob patterns for allowed IPs
|
allowedIPs: string[]; // Glob patterns for allowed IPs
|
||||||
@ -413,7 +413,7 @@ export class PortProxy {
|
|||||||
listeningPorts.add(port);
|
listeningPorts.add(port);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Also ensure the default fromPort is listened to if it isn’t already in the ranges.
|
// Also ensure the default fromPort is listened to if it isn't already in the ranges.
|
||||||
listeningPorts.add(this.settings.fromPort);
|
listeningPorts.add(this.settings.fromPort);
|
||||||
} else {
|
} else {
|
||||||
listeningPorts.add(this.settings.fromPort);
|
listeningPorts.add(this.settings.fromPort);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user