feat: añadir soporte para compresión Brotli en el servidor

This commit is contained in:
2025-10-08 12:19:09 -05:00
parent 56eb8462cd
commit 2f0f539185
2 changed files with 5 additions and 1 deletions

4
.gitignore vendored
View File

@@ -1,6 +1,10 @@
node_modules
.env
.env.test
qodana.yaml
/.github
/.vscode
/.idea
/src/generated/prisma

View File

@@ -2,7 +2,7 @@ import { createServer, IncomingMessage, ServerResponse } from "node:http";
import { promises as fs } from "node:fs";
import { readFileSync } from "node:fs";
import { createHash } from "node:crypto";
import { gzipSync } from "node:zlib";
import { gzipSync, brotliCompressSync } from "node:zlib";
import path from "node:path";
import ejs from "ejs";