Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate redirect module #318

Open
manastalukdar opened this issue Jul 10, 2023 · 1 comment
Open

Investigate redirect module #318

manastalukdar opened this issue Jul 10, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@manastalukdar
Copy link
Owner

manastalukdar commented Jul 10, 2023

@manastalukdar manastalukdar converted this from a draft issue Jul 10, 2023
@manastalukdar manastalukdar self-assigned this Jul 10, 2023
@manastalukdar manastalukdar added the enhancement New feature or request label Jul 10, 2023
@manastalukdar
Copy link
Owner Author

  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 + '/',
    },
  ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant