Skip to content

Commit

Permalink
chore: Obey naming convention of CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHauschildt committed May 10, 2024
1 parent 43619ac commit d290589
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/web/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const ConfigSchema = z
.optional()
.describe('The public path to the wasm files and the onnx model.')
.default(
'https://staticimgly.com/@imgly/background-removal-data/${PACKAGE_VERSION}/dist/'
'https://staticimgly.com/imgly/background-removal-data/${PACKAGE_VERSION}/dist/'
)
.transform((val) => {
return val
Expand Down
6 changes: 3 additions & 3 deletions scripts/deploy-assets.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ async function syncToS3() {
}

const packageNames = {
'packages/node': '@imgly/background-removal-node',
'packages/web': '@imgly/background-removal',
'packages/web-data': '@imgly/background-removal-data'
'packages/node': 'imgly/background-removal-node',
'packages/web': 'imgly/background-removal',
'packages/web-data': 'imgly/background-removal-data'
};

await Promise.allSettled(
Expand Down

0 comments on commit d290589

Please sign in to comment.