fix: increase upload limit to 15MB and fix navigation favicon persistence
This commit is contained in:
@@ -2,6 +2,11 @@ import type { NextConfig } from "next";
|
|||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
output: 'standalone',
|
output: 'standalone',
|
||||||
|
experimental: {
|
||||||
|
serverActions: {
|
||||||
|
bodySizeLimit: '15mb',
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
@@ -1241,7 +1241,7 @@ export default function DocumentsClient({
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p className="text-sm font-black text-slate-900 leading-tight">Escolher arquivo</p>
|
<p className="text-sm font-black text-slate-900 leading-tight">Escolher arquivo</p>
|
||||||
<p className="text-[8px] font-bold text-slate-400 uppercase tracking-widest mt-1">PDF ou Imagens até 50MB</p>
|
<p className="text-[8px] font-bold text-slate-400 uppercase tracking-widest mt-1">PDF ou Imagens até 15MB</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ export default function NewDocumentClient({
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p className="text-base font-black text-slate-900 leading-tight">Clique ou arraste o arquivo</p>
|
<p className="text-base font-black text-slate-900 leading-tight">Clique ou arraste o arquivo</p>
|
||||||
<p className="text-[9px] font-bold text-slate-400 uppercase tracking-widest mt-1">Até 50MB permitidos por documento</p>
|
<p className="text-[9px] font-bold text-slate-400 uppercase tracking-widest mt-1">Até 15MB permitidos por documento</p>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
type="button"
|
type="button"
|
||||||
|
|||||||
Reference in New Issue
Block a user