mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(proxy): trim ip response
This commit is contained in:
@@ -84,7 +84,7 @@ export class BuiltinProxy extends BaseProxy {
|
||||
);
|
||||
}
|
||||
|
||||
const publicIp = await response.text();
|
||||
const publicIp = (await response.text()).trim();
|
||||
|
||||
const { error, success } = z
|
||||
.union([z.ipv4(), z.ipv6()])
|
||||
|
||||
Reference in New Issue
Block a user