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

Open

Description

@GrosSacASac

target = `${decodedPath}/`;

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

Activity

  1. GrosSacASac commented on Mar 17, 2022

    @GrosSacASac
    Author

    with the trailingSlash option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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