Skip to content

Commit

Permalink
fix(prod-image-path): image path is different in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
briansunter committed Nov 9, 2022
1 parent ac9dde2 commit 2cc757d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/logseq.ts
Expand Up @@ -61,6 +61,6 @@ export async function saveDalleImage( imageURL: string): Promise<string>{

const responseArrayBuffer: any = await response.arrayBuffer();
await s.setItem(imageName, responseArrayBuffer);
const imageFileName = `![](assets/storages/_79n711y6e/${imageName})`;
const imageFileName = `![](assets/storages/logseq-plugin-gpt3-openai/${imageName})`;
return imageFileName;
}

0 comments on commit 2cc757d

Please sign in to comment.