Skip to content

Use the default Nuxt redirect as default for netlify redirect #180

@espensgr

Description

@espensgr

Is your feature request related to a problem? Please describe.
Today you have to add a static array to the netlify config, as it is nice it would be nice to use a promise from an api call to get the redirects. Today we use the redirect settings in the nuxt.config, with an ajax call to the backend where we make the redirects.

Describe the solution you'd like
It would be nice to have this module use the redirect function in the nuxt.config as a default. And if you would like to disable it add redirect: null or provide your own array, like you do today.

Additional context
I'm using Nuxt 2.14.7 with full static generate.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions