chore: add back Call component from rebase, increase max file size cache

This commit is contained in:
Danny Avila 2025-02-12 17:12:02 -05:00
parent c768b8feb1
commit f170d5ba23
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
2 changed files with 107 additions and 104 deletions

View file

@ -157,6 +157,7 @@ const ChatForm = ({ index = 0 }) => {
: `pl-${uploadActive ? '12' : '4'} pr-12`; : `pl-${uploadActive ? '12' : '4'} pr-12`;
return ( return (
<>
<form <form
onSubmit={methods.handleSubmit((data) => submitMessage(data))} onSubmit={methods.handleSubmit((data) => submitMessage(data))}
className={cn( className={cn(
@ -267,6 +268,8 @@ const ChatForm = ({ index = 0 }) => {
</div> </div>
</div> </div>
</form> </form>
<Call />
</>
); );
}; };

View file

@ -62,7 +62,7 @@ export default defineConfig({
useCredentials: true, useCredentials: true,
workbox: { workbox: {
globPatterns: ['assets/**/*.{png,jpg,svg,ico}', '**/*.{js,css,html,ico,woff2}'], globPatterns: ['assets/**/*.{png,jpg,svg,ico}', '**/*.{js,css,html,ico,woff2}'],
maximumFileSizeToCacheInBytes: 4 * 1024 * 1024, maximumFileSizeToCacheInBytes: 5 * 1024 * 1024,
navigateFallbackDenylist: [/^\/oauth/], navigateFallbackDenylist: [/^\/oauth/],
}, },
manifest: { manifest: {