Open manastalukdar opened 1 year ago
redirect: [
{
// https://stackoverflow.com/questions/54346345/nuxt-js-force-trailing-slash-at-the-end-of-all-urls
from: '^.*(?<!/)$', // ^.*(?<!\.(png|jpg))$ ^.*(?<!/)$
to: (from, req) => req.url + '/',
},
],