Compare commits
1
Commits
a25fd73eea
...
V1.0.8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c005783e0 |
+4
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user