This commit is contained in:
thororen1234 2024-06-06 02:32:09 -04:00
parent 10d684a364
commit 78c0e13fd2
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ export default definePlugin({
] ]
}, },
{ {
find: /overrideBannerSrc:\i,profileType:/, find: /profileType:\i,overrideBannerSrc:\i/,
replacement: [ replacement: [
{ {
match: /(\i)\.premiumType/, match: /(\i)\.premiumType/,

View file

@ -192,7 +192,7 @@ export default definePlugin({
} }
})), })),
// Banners // Banners
...[".NITRO_BANNER,", /overrideBannerSrc:\i,profileType:/].map(find => ({ ...[".NITRO_BANNER,", /profileType:\i,overrideBannerSrc:\i/].map(find => ({
find, find,
replacement: { replacement: {
// style: { backgroundImage: shouldShowBanner ? "url(".concat(bannerUrl, // style: { backgroundImage: shouldShowBanner ? "url(".concat(bannerUrl,