Skip to content

Redirect present in next.config.js, causing all pages to be redirected to demo.vercel.events. #90

@jacobhq

Description

@jacobhq

This causes all pages to redirect to demo.vercel.events, including in development.

async redirects() {
    return [
        {
            source: '/:slug*',
            destination: 'https://demo.vercel.events/:slug*', // Matched parameters can be used in the destination
            permanent: false
        }
    ];
}

I don't think this should be in the next.config.js, perhaps you should remove this and set up the redirects in your Vercel project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions