Commit 6e5e4829 authored by Diego F. Ticona Ramos's avatar Diego F. Ticona Ramos
Browse files

corrigiendo packages no usados

parent 2def8773
......@@ -5,8 +5,8 @@ import {
// FIREBASE_ADMIN_SDK,
SERVER
} from "./config/app.config";
import adminFirebase, { ServiceAccount } from "firebase-admin";
import fileUpload from "express-fileupload";
// import adminFirebase, { ServiceAccount } from "firebase-admin";
// import fileUpload from "express-fileupload";
import { SQLConnection } from "./core/base/SQLConnection";
import path from "path";
import printRoutes from "./tools/printRoutes";
......@@ -60,11 +60,11 @@ import morgan from "morgan";
app.use(cors(options)); // Definiendo CORS para peticiones en clientes externos
app.use(express.json({ limit: '500mb' }));
app.use(
fileUpload({
limits: { fileSize: 50 * 1024 * 1024 },
})
);
// app.use(
// fileUpload({
// limits: { fileSize: 50 * 1024 * 1024 },
// })
// );
// podemos testear localmente si el build generado del cliente web funciona
app.use(express.static(path.join(__dirname, "../../public/")));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment