This commit is contained in:
2026-06-30 14:42:19 +03:30
parent a25fd73eea
commit 6c005783e0
+4 -1
View File
@@ -1,6 +1,9 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
output: 'export', output: 'export',
// Emit each route as a folder with index.html (e.g. admin/login/index.html)
// so static hosts (nginx) can serve clean URLs without custom rewrite rules.
trailingSlash: true,
}; };
export default nextConfig; export default nextConfig;