mirror of https://github.com/buster-so/buster.git
update image protocol
This commit is contained in:
parent
b0a010bbce
commit
9ed1ed5eef
|
@ -25,7 +25,7 @@ const createCspHeader = (isEmbed = false) => {
|
||||||
// Styles
|
// Styles
|
||||||
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdn.jsdelivr.net",
|
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdn.jsdelivr.net",
|
||||||
// Images
|
// Images
|
||||||
"img-src 'self' blob: data: https://*.vercel.app https://*.supabase.co",
|
"img-src 'self' blob: data: https: http:",
|
||||||
// Fonts
|
// Fonts
|
||||||
"font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net",
|
"font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net",
|
||||||
// Frame ancestors
|
// Frame ancestors
|
||||||
|
|
|
@ -22,11 +22,11 @@ export default function ProfilePage() {
|
||||||
className="h-12 w-12"
|
className="h-12 w-12"
|
||||||
fallbackClassName="text-2xl"
|
fallbackClassName="text-2xl"
|
||||||
/>
|
/>
|
||||||
<div className="flex flex-col justify-center gap-1">
|
<div className="flex flex-col justify-center gap-0">
|
||||||
<Title as="h3" className="text-foreground">
|
<Title as="h3" className="text-foreground">
|
||||||
{name}
|
{name}
|
||||||
</Title>
|
</Title>
|
||||||
<Text className="text-gray-light mt-1">{email}</Text>
|
<Text className="text-gray-light mt-0.5">{email}</Text>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/* Info Section */}
|
{/* Info Section */}
|
||||||
|
|
|
@ -27,6 +27,7 @@ const AvatarImage = React.forwardRef<
|
||||||
data-testid="avatar-image"
|
data-testid="avatar-image"
|
||||||
data-slot="avatar-image"
|
data-slot="avatar-image"
|
||||||
className={cn('aspect-square h-full w-full', className)}
|
className={cn('aspect-square h-full w-full', className)}
|
||||||
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue