fix(templates): use url safe base64 in templates (#7354)

This commit is contained in:
EYHN
2024-06-27 03:44:14 +00:00
parent 595b904d24
commit a7ea74923a
2 changed files with 32 additions and 32 deletions

View File

@@ -36,7 +36,7 @@ import stickerContent${id} from './stickers/${category}/Content/${sticker}';`,
name: ${JSON.stringify(name)},
cover: stickerCover${id},
content: stickerContent${id},
hash: ${JSON.stringify(hash)},
hash: ${JSON.stringify(hash).replace(/\+/g, '-').replace(/\//g, '_')},
}`,
};
}