🐛 Fix bunny fonts URL path

This commit is contained in:
Baptiste Arnaud
2023-07-24 09:21:20 +02:00
parent 04faa3e847
commit defe00155d
4 changed files with 4 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ const BotContent = (props: BotContentProps) => {
)
return
const font = document.createElement('link')
font.href = `https://fonts.bunny.net/css?family=${
font.href = `https://fonts.bunny.net/css2?family=${
props.initialChatReply.typebot?.theme?.general?.font ?? 'Open Sans'
}:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap');')`
font.rel = 'stylesheet'