mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Increase sidebar image scale from 300px -> 450px
This commit is contained in:
@@ -79,9 +79,9 @@ export const Sidebar = () => {
|
||||
const server = useCurrentServer();
|
||||
|
||||
const upsizedImageUrl = imageUrl
|
||||
?.replace(/size=\d+/, 'size=300')
|
||||
.replace(/width=\d+/, 'width=300')
|
||||
.replace(/height=\d+/, 'height=300');
|
||||
?.replace(/size=\d+/, 'size=450')
|
||||
.replace(/width=\d+/, 'width=450')
|
||||
.replace(/height=\d+/, 'height=450');
|
||||
|
||||
const showImage = sidebar.image;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user