Skip to content

Commit 9300f5b

Browse files
committed
Merge branch 'main' of github.com:devforth/adminforth-markdown
2 parents 5a0d7dd + c6247f2 commit 9300f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/MarkdownEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ async function uploadFileToS3(file: File): Promise<string | undefined> {
755755
return;
756756
}
757757
758-
const originalFilename = file.name.split('.').slice(0, -1).join('.');
758+
const originalFilename = file.name.split('.').slice(0, -1).join('.') + `_${Date.now()}`;
759759
const originalExtension = file.name.split('.').pop();
760760
761761
const { uploadUrl, tagline, previewUrl, error } = await callAdminForthApi({

0 commit comments

Comments
 (0)