Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
423 B
JavaScript
16 lines
423 B
JavaScript
// src/globals.ts
|
|
import crypto from "crypto";
|
|
var webFetch = global.fetch;
|
|
if (typeof global.crypto === "undefined") {
|
|
global.crypto = crypto;
|
|
}
|
|
global.fetch = (info, init) => {
|
|
init = {
|
|
// Disable compression handling so people can return the result of a fetch
|
|
// directly in the loader without messing with the Content-Encoding header.
|
|
compress: false,
|
|
...init
|
|
};
|
|
return webFetch(info, init);
|
|
};
|