Skip to content

Unable to generate URL with port number #153

Open
@smichaelsen

Description

I'm running an application at http://127.0.0.1:1244/ and I want to generate an absolute URI using the \Aura\Router\Generator. As I understand it I need to specify a ->host() for the route in order to get an absolute URI. But there is no way to set a port number.
I can set the port number together with the host name ->host('127.0.0.1:1244') but then the \Aura\Router\Matcher won't match anymore.

Any ideas how to get around this problem?

PS: I'm using Aura.Router 3.1.0

Activity

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

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