Skip to content

Commit

Permalink
fix(images): Fix for image upload
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 13, 2023
1 parent 52f4c62 commit 6b973f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Publisher.ts
Expand Up @@ -545,7 +545,7 @@ export class Publisher {

for (const imageUrl of imagesToUpload) {
console.log({ testing: imageUrl });
const filename = imageUrl.split(":")[1];
const filename = imageUrl.split("://")[1];
const uploadedContent = await this.uploadFile(
pageId,
pageFilePath,
Expand Down

0 comments on commit 6b973f2

Please sign in to comment.