Hello, I am currently working on a Nuxt Application and encountering an issue.
After running the npm run build command and starting it with npm start, there seems to be an inconsistency with trailing slashes.
During the build, the URL appears without a trailing slash - for example, http://localhost:3000/blog.
However, when deploying the site, initially it loads without a trailing slash, but upon refreshing the page, it adds a trailing slash like this: http://example.com/blog/
I have tried various middleware solutions and even the Nuxt trailingSlash method, but none seem to resolve the issue.
Here is a snippet of how my nuxt.config file looks:
var dynamicPages = require('./dynamicPages.json')
export default {
// Configuration settings here
}