streamby-core 0.25.3 → 0.25.4

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.
@@ -107,7 +107,7 @@ function storageRouter(config) {
107
107
  if (!adapter.getPresignedUploadUrl) {
108
108
  return res.status(501).json({ message: 'Storage adapter does not support presigned uploads' });
109
109
  }
110
- const key = `projects/${projectId}/${category}/${sanitizeFilename(fileName)}`;
110
+ const key = `${projectId}/${category}/${sanitizeFilename(fileName)}`;
111
111
  const url = await adapter.getPresignedUploadUrl(key, contentType);
112
112
  res.json({ url });
113
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "streamby-core",
3
- "version": "0.25.3",
3
+ "version": "0.25.4",
4
4
  "description": "StreamBy middleware framework for media storage management",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",