diff --git a/components/admin/ClientForm.tsx b/components/admin/ClientForm.tsx
index 88109ce..ea1ee14 100644
--- a/components/admin/ClientForm.tsx
+++ b/components/admin/ClientForm.tsx
@@ -204,29 +204,50 @@ export default function ClientForm({ client, onSuccess, onCancel }: ClientFormPr
Lien unique :
-
- {getClientUrl()}
-
-
+
- Partagez ce lien avec le client pour qu'il configure son app automatiquement
+ 💡 Cliquez sur le lien pour le sélectionner, puis Ctrl+C pour copier
diff --git a/next.config.js b/next.config.js
index c0c0ea4..f8e83c5 100644
--- a/next.config.js
+++ b/next.config.js
@@ -2,12 +2,18 @@
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
- output: "export",
+ // Mode serveur (pas d'export statique)
+ // Les API routes fonctionnent normalement
compress: true,
poweredByHeader: false,
images: {
- unoptimized: true,
+ formats: ["image/avif", "image/webp"],
+ minimumCacheTTL: 60,
+ },
+ experimental: {
+ optimizePackageImports: ["lucide-react"],
},
};
module.exports = nextConfig;
+
diff --git a/next.config.js.backup b/next.config.js.backup
index acc6704..c0c0ea4 100644
--- a/next.config.js.backup
+++ b/next.config.js.backup
@@ -2,17 +2,12 @@
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
- output: "standalone",
+ output: "export",
compress: true,
poweredByHeader: false,
images: {
- formats: ["image/avif", "image/webp"],
- minimumCacheTTL: 60,
- },
- experimental: {
- optimizePackageImports: ["lucide-react"],
+ unoptimized: true,
},
};
module.exports = nextConfig;
-