Use skin filename not path name for tweets

This commit is contained in:
Jordan Eldredge 2020-11-07 17:13:42 -05:00
parent 42c4c34757
commit 5f38504464

View file

@ -521,7 +521,7 @@ export async function getSkinToTweet(): Promise<{
if (skin == null) {
return null;
}
return { md5: skin.md5, canonicalFilename: skin.file_path };
return { md5: skin.md5, canonicalFilename: path.basename(skin.file_path) };
}
export async function getStats(): Promise<{