@base44-preview/cli 0.0.38-pr.379.c10177b → 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 CHANGED
@@ -244649,7 +244649,9 @@ function createIntegrationRoutes(mediaFilesDir, baseUrl, remoteProxy, logger) {
244649
244649
  return;
244650
244650
  }
244651
244651
  const file_uri = req.file.filename;
244652
- res.json({ file_uri });
244652
+ const token2 = createFileToken(file_uri);
244653
+ const signed_url = `${baseUrl}/media/private/${file_uri}?token=${token2}`;
244654
+ res.json({ file_uri, signed_url });
244653
244655
  });
244654
244656
  router.post("/Core/CreateFileSignedUrl", parseBody, (req, res) => {
244655
244657
  const { file_uri } = req.body;
@@ -250889,4 +250891,4 @@ export {
250889
250891
  CLIExitError
250890
250892
  };
250891
250893
 
250892
- //# debugId=53B967AC62FD12E864756E2164756E21
250894
+ //# debugId=364C3B73C55ABA7664756E2164756E21