fix: increase upload limit to 15MB and fix navigation favicon persistence

This commit is contained in:
Erik Silva
2026-01-21 16:53:05 -03:00
parent 0ea18c5eaf
commit 0da0a4534b
3 changed files with 7 additions and 2 deletions

View File

@@ -2,6 +2,11 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: 'standalone',
experimental: {
serverActions: {
bodySizeLimit: '15mb',
},
},
};
export default nextConfig;

View File

@@ -1241,7 +1241,7 @@ export default function DocumentsClient({
</div>
<div>
<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>
)}

View File

@@ -185,7 +185,7 @@ export default function NewDocumentClient({
</div>
<div>
<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>
<Button
type="button"