Skip to content

[BUG] request.url is https when running locally with http #969

@sommeeeer

Description

@sommeeeer

request.url in route handlers is with https when you are actually running in http. This can happen when you run OpenNext locally or in wrangler dev.

We also have a test for this. It will fail when you run the E2E with local dev overrides. In the Cloudflare adapter they skip these tests for now.

It is correct in the middleware BTW.

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