This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch new-site-dev
in repository https://gitbox.apache.org/repos/asf/pinot-site.git
The following commit(s) were added to refs/heads/new-site-dev by this push:
new c78247a4 add trailingSlash in next config to handle the trailing slash
in the url (#132)
c78247a4 is described below
commit c78247a46894c8041cdee4c3388ec3cde62b530d
Author: Gio <[email protected]>
AuthorDate: Wed Aug 21 13:24:53 2024 +0200
add trailingSlash in next config to handle the trailing slash in the url
(#132)
---
next.config.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/next.config.js b/next.config.js
index 37598825..cb77ce16 100644
--- a/next.config.js
+++ b/next.config.js
@@ -61,6 +61,7 @@ module.exports = () => {
const plugins = [withContentlayer, withBundleAnalyzer];
return plugins.reduce((acc, next) => next(acc), {
output: 'export',
+ trailingSlash: true,
// distDir: 'dist',
reactStrictMode: true,
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]