@base44-preview/cli 0.0.35-pr.339.6c754d1 → 0.0.36-pr.339.1ae3acc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +4 -3
- package/dist/cli/index.js.map +3 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -241110,7 +241110,7 @@ var {
|
|
|
241110
241110
|
// package.json
|
|
241111
241111
|
var package_default = {
|
|
241112
241112
|
name: "base44",
|
|
241113
|
-
version: "0.0.
|
|
241113
|
+
version: "0.0.36",
|
|
241114
241114
|
description: "Base44 CLI - Unified interface for managing Base44 applications",
|
|
241115
241115
|
type: "module",
|
|
241116
241116
|
bin: {
|
|
@@ -243757,7 +243757,8 @@ function createIntegrationRoutes(mediaFilesDir, baseUrl, logger) {
|
|
|
243757
243757
|
cb2(null, `${randomUUID2()}${ext}`);
|
|
243758
243758
|
}
|
|
243759
243759
|
});
|
|
243760
|
-
const
|
|
243760
|
+
const MAX_FILE_SIZE = 50 * 1024 * 1024;
|
|
243761
|
+
const upload = import_multer.default({ storage, limits: { fileSize: MAX_FILE_SIZE } });
|
|
243761
243762
|
router.post("/Core/UploadFile", upload.single("file"), (req, res) => {
|
|
243762
243763
|
if (!req.file) {
|
|
243763
243764
|
res.status(400).json({ error: "No file uploaded" });
|
|
@@ -248254,4 +248255,4 @@ export {
|
|
|
248254
248255
|
CLIExitError
|
|
248255
248256
|
};
|
|
248256
248257
|
|
|
248257
|
-
//# debugId=
|
|
248258
|
+
//# debugId=06F31C5B0245F98264756E2164756E21
|