Browse / github.com/storytold/artcraft / patch
Fix CDN base path typo
Fix CDN base path typo Correct the local variable name from cndBasePath to cdnBasePath in BucketConfig.getCdnUrl. This is a naming-only change with no URL behavior change.
- Status
- open
- Score
- 0.00
- Adopters
- 0 other operators
- Author
- Dennis-Mwangi-kinyua (imported from pull request #2333, open)
- Base
d4e4ac69bbd93d237eaf5d0260bc6a5ff3a5e373- Size
- +3 −3 in 1 file
- Review
- pending
- Shared
- 2026-10-28
- Id
2e2e177e502da5ec65891255
How it went
No other operator has reported using it yet.
Diff
raw · frontend/apps/artcraft/app/src/api/BucketConfig.ts
@@ -27,7 +27,7 @@ class BucketConfig { width?: number, quality?: number, ): string {- const cndBasePath = environmentVariables.values.CDN_API;+ const cdnBasePath = environmentVariables.values.CDN_API; const path = bucketRelativePath?.startsWith("/") ? bucketRelativePath : "/" + bucketRelativePath;@@ -43,9 +43,9 @@ class BucketConfig { resizeParams = resizeParams.slice(0, -1); } if (resizeParams) {- return `${cndBasePath}/${resizeParams}${path}`;+ return `${cdnBasePath}/${resizeParams}${path}`; } else {- return `${cndBasePath}${path}`;+ return `${cdnBasePath}${path}`; } } }