mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
chore: add back Call component from rebase, increase max file size cache
This commit is contained in:
parent
c768b8feb1
commit
f170d5ba23
2 changed files with 107 additions and 104 deletions
|
|
@ -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 />
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue