init: pusat bantuan tumbuhin

This commit is contained in:
Gilang Aryo
2026-11-27 16:47:48 +07:00
commit 7cb1ebafe0
29 changed files with 6428 additions and 0 deletions

30
next.config.mjs Normal file
View File

@@ -0,0 +1,30 @@
import { createMDX } from 'fumadocs-mdx/next';
const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
// Untuk Docker / Dokploy: image kecil, jalankan dengan `node server.js`
output: 'standalone',
async rewrites() {
return [
// Dashboard Decap CMS (file statis di public/admin/index.html)
{ source: '/admin', destination: '/admin/index.html' },
];
},
async redirects() {
return [
// Contoh redirect jika slug artikel diganti setelah terbit:
// {
// source: '/docs/memulai/slug-lama',
// destination: '/docs/memulai/slug-baru',
// permanent: true,
// },
];
},
};
export default withMDX(config);