Skip to content

Commit

Permalink
Fix upload issue for headshot (#159)
Browse files Browse the repository at this point in the history
Co-authored-by: AceDataCloud <[email protected]>
  • Loading branch information
Germey and AceDataCloud authored Dec 28, 2024
1 parent 81c2331 commit cea9671
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix upload origin",
"packageName": "@acedatacloud/nexior",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion src/components/headshots/config/ElementsSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default defineComponent({
.pane {
display: flex;
flex-direction: row;
justify-content: left;
justify-content: center;
align-items: center;
flex-wrap: wrap;
height: auto;
Expand Down
3 changes: 1 addition & 2 deletions src/components/headshots/config/ImageUrlsInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ export default defineComponent({
urls(): string[] {
// @ts-ignore
return this.fileList.map((file: UploadFile) => {
const url = file?.response?.file_url;
return url.replace('https://cdn.acedata.cloud', 'https://acedata-cdn.zhishuyun.com');
return file?.response?.file_url;
});
},
value: {
Expand Down

0 comments on commit cea9671

Please sign in to comment.