mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-02 06:52:19 +00:00
Use skin filename not path name for tweets
This commit is contained in:
parent
42c4c34757
commit
5f38504464
1 changed files with 1 additions and 1 deletions
|
|
@ -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<{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue