@base44-preview/cli 0.0.38-pr.379.36c4006 → 0.0.38-pr.379.d03b1ca
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 +5 -2
- package/dist/cli/index.js.map +3 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -244631,7 +244631,10 @@ function createIntegrationRoutes(mediaFilesDir, baseUrl, remoteProxy, logger) {
|
|
|
244631
244631
|
}
|
|
244632
244632
|
});
|
|
244633
244633
|
const upload = import_multer.default({ storage, limits: { fileSize: MAX_FILE_SIZE } });
|
|
244634
|
-
const privateUpload = import_multer.default({
|
|
244634
|
+
const privateUpload = import_multer.default({
|
|
244635
|
+
storage: privateStorage,
|
|
244636
|
+
limits: { fileSize: MAX_FILE_SIZE }
|
|
244637
|
+
});
|
|
244635
244638
|
router.post("/Core/UploadFile", upload.single("file"), (req, res) => {
|
|
244636
244639
|
if (!req.file) {
|
|
244637
244640
|
res.status(400).json({ error: "No file uploaded" });
|
|
@@ -250888,4 +250891,4 @@ export {
|
|
|
250888
250891
|
CLIExitError
|
|
250889
250892
|
};
|
|
250890
250893
|
|
|
250891
|
-
//# debugId=
|
|
250894
|
+
//# debugId=364C3B73C55ABA7664756E2164756E21
|