mirror of
https://github.com/R0m1k3/PleinR.git
synced 2026-10-20 21:58:09 +02:00
Backend: edition image d'entete + logo des adherents
- Champs upload image d'entete (coverUrl) et logo (logoUrl) dans le formulaire d'edition d'un adherent (composant ImageField, fichier -> data-URL via hidden input) - updateMember persiste desormais coverUrl + logoUrl, et revalide la fiche publique /adherents/[id] - serverActions.bodySizeLimit a 4mb (les data-URL depassent la limite par defaut de 1mb) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
6ee7e44c1b
commit
b4d94f2115
4 files changed
+98
No files matched your search
@@ -2,6 +2,10 @@
|
||||
const nextConfig = {
|
||||
output: "standalone",
|
||||
reactStrictMode: true,
|
||||
experimental: {
|
||||
// Les images d'entête/logo sont envoyées en data-URL via server action.
|
||||
serverActions: { bodySizeLimit: "4mb" },
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in new issue
Block a user