mirror of
https://github.com/denoland/deno.git
synced 2025-03-11 22:59:41 -04:00
This reverts commit ee2c6cb04a
.
Closes https://github.com/denoland/deno/issues/17359
This commit is contained in:
parent
5a01dbf43f
commit
92a4ecd938
3 changed files with 3 additions and 4 deletions
|
@ -58,9 +58,8 @@ mod cert {
|
||||||
|
|
||||||
itest!(deno_land_unsafe_ssl {
|
itest!(deno_land_unsafe_ssl {
|
||||||
args:
|
args:
|
||||||
"run --quiet --reload --allow-net --cert=tls/RootCA.pem --unsafely-ignore-certificate-errors=localhost cert/deno_land_unsafe_ssl.ts",
|
"run --quiet --reload --allow-net --unsafely-ignore-certificate-errors=deno.land cert/deno_land_unsafe_ssl.ts",
|
||||||
output: "cert/deno_land_unsafe_ssl.ts.out",
|
output: "cert/deno_land_unsafe_ssl.ts.out",
|
||||||
http_server: true,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
itest!(ip_address_unsafe_ssl {
|
itest!(ip_address_unsafe_ssl {
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
const r = await fetch("https://localhost:5545/cert/cafile_info.ts");
|
const r = await fetch("https://google.com");
|
||||||
console.log(r.status);
|
console.log(r.status);
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
DANGER: TLS certificate validation is disabled for: localhost
|
DANGER: TLS certificate validation is disabled for: deno.land
|
||||||
200
|
200
|
||||||
|
|
Loading…
Add table
Reference in a new issue