1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
denoland-deno/cli/tests/053_import_compression/main.ts

14 lines
407 B
TypeScript
Raw Normal View History

import "http://127.0.0.1:4545/cli/tests/053_import_compression/gziped";
import "http://127.0.0.1:4545/cli/tests/053_import_compression/brotli";
console.log(
await fetch(
"http://127.0.0.1:4545/cli/tests/053_import_compression/gziped",
).then((res) => res.text()),
);
console.log(
await fetch(
"http://127.0.0.1:4545/cli/tests/053_import_compression/brotli",
).then((res) => res.text()),
);