Skip to content

If vercel handler is served under a path like /blog/ inside nginx then trailingSlash option redirects will redirect to top level domain name #166

@GrosSacASac

Description

@GrosSacASac

target = `${decodedPath}/`;

The solution is to use relative redirect links eg
Location: ./folder/
instead of
Location: /folder/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions