Skip to content

Commit

Permalink
update next.config.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Aug 13, 2024
1 parent 4b54f87 commit ae048b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion liara_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ location = /404.html {
# rewrite ^/(.*)/$ /$1 permanent;
# }

rewrite ^/(.*)/$ /$1 permanent;
# rewrite ^/(.*)/$ /$1 permanent;

location / {
try_files $uri $uri/ $uri.html =404;
Expand Down
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const nextConfig = {
output: "export",
reactStrictMode: true,
pageExtensions: ['js', 'jsx', 'md', 'mdx'],
trailingSlash: true,
};

export default withMDX(nextConfig);

0 comments on commit ae048b4

Please sign in to comment.