mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
14 lines
367 B
TypeScript
14 lines
367 B
TypeScript
|
import "http://127.0.0.1:4545/run/import_compression/gziped";
|
||
|
import "http://127.0.0.1:4545/run/import_compression/brotli";
|
||
|
|
||
|
console.log(
|
||
|
await fetch(
|
||
|
"http://127.0.0.1:4545/run/import_compression/gziped",
|
||
|
).then((res) => res.text()),
|
||
|
);
|
||
|
console.log(
|
||
|
await fetch(
|
||
|
"http://127.0.0.1:4545/run/import_compression/brotli",
|
||
|
).then((res) => res.text()),
|
||
|
);
|