Skip to content

Commit cbef202

Browse files
committed
feat: add private ip check
1 parent 7c8c5a6 commit cbef202

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/proxy/testflow/testflow.service.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ export class TestflowService {
149149
if (isLocalhost) {
150150
throw new BadRequestException('This API is local and cannot run on the cloud. Deploy it to enable execution.');
151151
}
152-
if (targetUrl.startsWith('/') || targetUrl.startsWith('./') || !targetUrl.includes('://')) {
153-
throw new BadRequestException('This API is local and cannot run on the cloud. Deploy it to enable execution.');
154-
}
155152
}
156153

157154
private async validateFormData(

0 commit comments

Comments
 (0)