Skip to content

Can't get protocol in server-side rendering #2469

@hank7444

Description

@hank7444

Hi All!

My question is i need to get origin dynamically,
I try req.headers and I got:

image

Yes!, I got host, but I also need the protocol, which needs to concat with host to create new api path. I browsed All req properties but I got nothing. Have any good idea? thx a lot!

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